From c98e45bfac25e9110ad0383faac54a54d98ea9d5 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 18 十一月 2021 20:47:04 +0800
Subject: [PATCH] 2021-11-18

---
 src/templates/comtableconfig/source.jsx |   20 +++++++++++++-------
 1 files changed, 13 insertions(+), 7 deletions(-)

diff --git a/src/templates/comtableconfig/source.jsx b/src/templates/comtableconfig/source.jsx
index 4c2c87e..07b053a 100644
--- a/src/templates/comtableconfig/source.jsx
+++ b/src/templates/comtableconfig/source.jsx
@@ -2,7 +2,7 @@
 import zhCN from '@/locales/zh-CN/model.js'
 import enUS from '@/locales/en-US/model.js'
 
-const CommonDict = localStorage.getItem('lang') !== 'en-US' ? zhCN : enUS
+const CommonDict = sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS
 
 class CommonTableBaseData {
   baseConfig = {
@@ -40,7 +40,6 @@
         options: [],
         orderType: 'asc',
         match: 'like',
-        display: 'dropdown'
       }, {
         origin: true,
         uuid: Utils.getuuid(),
@@ -53,7 +52,6 @@
         options: [],
         orderType: 'asc',
         match: 'equal',
-        display: 'dropdown'
       }, {
         origin: true,
         uuid: Utils.getuuid(),
@@ -66,7 +64,6 @@
         options: [],
         orderType: 'asc',
         match: 'greater',
-        display: 'dropdown'
       }
     ],
     action: [
@@ -79,7 +76,6 @@
         position: 'toolbar',
         execSuccess: 'grid',
         execError: 'never',
-        errorTime: 15,
         OpenType: 'pop',
         icon: 'plus',
         class: 'green',
@@ -93,7 +89,6 @@
         position: 'toolbar',
         execSuccess: 'grid',
         execError: 'never',
-        errorTime: 15,
         OpenType: 'pop',
         icon: 'form',
         class: 'purple',
@@ -107,7 +102,6 @@
         position: 'toolbar',
         execSuccess: 'grid',
         execError: 'never',
-        errorTime: 15,
         OpenType: 'prompt',
         icon: 'delete',
         class: 'red',
@@ -224,6 +218,12 @@
       type: 'search',
       label: CommonDict['model.form.link'],
       subType: 'link',
+      url: ''
+    },
+    {
+      type: 'search',
+      label: '閫夐」鍗�',
+      subType: 'checkcard',
       url: ''
     },
     {
@@ -351,6 +351,12 @@
       label: CommonDict['model.form.colspan'],
       subType: 'colspan',
       url: ''
+    },
+    {
+      type: 'columns',
+      label: '搴忓彿',
+      subType: 'index',
+      url: ''
     }
   ]
 

--
Gitblit v1.8.0