king
2022-10-17 e8edfdadb561cd83bf6e1c3e00d55b8cc2aee6d5
src/templates/modalconfig/source.jsx
@@ -1,8 +1,4 @@
import Utils from '@/utils/utils.js'
import zhCN from '@/locales/zh-CN/model.js'
import enUS from '@/locales/en-US/model.js'
const CommonDict = sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS
export const BaseConfig = {
  type: 'Modal',
@@ -76,17 +72,17 @@
export const SearchItems = [
  {
    type: 'form',
    label: CommonDict['model.form.text'],
    label: '文本',
    subType: 'text',
  },
  {
    type: 'form',
    label: CommonDict['model.form.number'],
    label: '数字',
    subType: 'number',
  },
  {
    type: 'form',
    label: CommonDict['model.form.select'],
    label: '下拉选择',
    subType: 'select',
  },
  {
@@ -96,12 +92,12 @@
  },
  {
    type: 'form',
    label: CommonDict['model.form.multiselect'],
    label: '下拉多选',
    subType: 'multiselect',
  },
  {
    type: 'form',
    label: CommonDict['model.form.link'],
    label: '联动菜单',
    subType: 'link',
  },
  {
@@ -136,7 +132,7 @@
  },
  {
    type: 'form',
    label: CommonDict['model.form.datemonth'],
    label: '日期(月)',
    subType: 'datemonth',
  },
  {
@@ -151,7 +147,7 @@
  },
  {
    type: 'form',
    label: CommonDict['model.form.color'],
    label: '颜色',
    subType: 'color',
  },
  {
@@ -161,7 +157,7 @@
  },
  {
    type: 'form',
    label: CommonDict['header.form.funcvar'],
    label: '函数变量',
    subType: 'funcvar',
  },
  {