king
2021-05-24 f267d04e0561a0a20d1f2a9f558a273558ece90d
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',
    }
  ]