king
2023-03-17 f74d06cff0e27653c2c5ff33cf3824fa3cfb4464
src/menu/pastecontroller/index.jsx
@@ -54,16 +54,16 @@
  pasteSubmit = () => {
    let appType = sessionStorage.getItem('appType')
    let options = ['tabs', 'timeline', 'datacard', 'propcard', 'mainsearch', 'simpleform', 'stepform', 'tabform', 'balcony', 'group', 'normaltable', 'tablecard', 'line', 'bar', 'pie', 'scatter', 'iframe', 'sandbox']
    let options = ['tabs', 'timeline', 'datacard', 'propcard', 'simpleform', 'stepform', 'tabform', 'balcony', 'group', 'normaltable', 'tablecard', 'line', 'bar', 'pie', 'scatter', 'iframe', 'sandbox']
    if (appType === 'mob') {
      if (sessionStorage.getItem('editMenuType') !== 'popview') {
        options.push('menubar', 'topbar')
        options.push('menubar', 'topbar', 'singleSearch')
      } else {
        options.push('menubar')
        options.push('menubar', 'singleSearch')
      }
    } else {
      options.push('editable', 'antvG6', 'tree', 'dashboard', 'chart')
      options.push('editable', 'mainsearch', 'antvG6', 'tree', 'dashboard', 'chart')
    }
    this.pasteFormRef.handleConfirm().then(res => {