king
2020-02-21 063b983daaf51a7f1e8677bde1e9c0e618866c91
src/templates/modalconfig/source.jsx
@@ -1,8 +1,8 @@
import Utils from '@/utils/utils.js'
// import zhCN from '@/locales/zh-CN/comtable.js'
// import enUS from '@/locales/en-US/comtable.js'
import zhCN from '@/locales/zh-CN/comtable.js'
import enUS from '@/locales/en-US/comtable.js'
// const CommonDict = (!localStorage.getItem('lang') || localStorage.getItem('lang') === 'zh-CN') ? zhCN : enUS
const CommonDict = (!localStorage.getItem('lang') || localStorage.getItem('lang') === 'zh-CN') ? zhCN : enUS
class CommonTableBaseData {
  baseConfig = {
@@ -117,7 +117,7 @@
    },
    {
      type: 'form',
      label: '函数变量',
      label: CommonDict['header.form.funcvar'],
      subType: 'funcvar',
      url: ''
    }