king
2021-06-02 e543372cc70a19ff2630c79d8421c2c593e54e5f
src/templates/formtabconfig/source.jsx
@@ -2,11 +2,11 @@
import zhCN from '@/locales/zh-CN/model.js'
import enUS from '@/locales/en-US/model.js'
const CommonDict = (!localStorage.getItem('lang') || localStorage.getItem('lang') === 'zh-CN') ? zhCN : enUS
const CommonDict = sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS
class CommonTableBaseData {
  baseConfig = {
    type: 'FormTab',
    Template: 'FormTab',
    enabled: false,
    setting: {
      datatype: 'query',
@@ -63,7 +63,7 @@
        btnType: 'confirm',
        uuid: Utils.getuuid(),
        label: '确定',
        intertype: 'inner',
        intertype: 'system',
        innerFunc: '',
        interface: '',
        outerFunc: '',
@@ -169,13 +169,13 @@
  actionItems = [
    {
      type: 'action',
      label: CommonDict['header.form.prompt'],
      label: CommonDict['model.form.prompt'],
      subType: 'prompt',
      url: ''
    },
    {
      type: 'action',
      label: CommonDict['header.form.exec'],
      label: CommonDict['model.form.exec'],
      subType: 'exec',
      url: ''
    }
@@ -184,7 +184,7 @@
  tabItems = [
    {
      type: 'tabs',
      label: CommonDict['header.menu.tab.subtable'],
      label: CommonDict['model.menu.tab.subtable'],
      subType: 'SubTable',
    }
  ]