From 567cea64c520654876e8c1a7f4ca2baf2c1c773f Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 25 十一月 2022 11:16:39 +0800 Subject: [PATCH] 2022-11-25 --- src/tabviews/custom/components/table/edit-table/normalTable/index.jsx | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/tabviews/custom/components/table/edit-table/normalTable/index.jsx b/src/tabviews/custom/components/table/edit-table/normalTable/index.jsx index f9ece5a..19bf7e3 100644 --- a/src/tabviews/custom/components/table/edit-table/normalTable/index.jsx +++ b/src/tabviews/custom/components/table/edit-table/normalTable/index.jsx @@ -6,7 +6,6 @@ import moment from 'moment' import Api from '@/api' -import options from '@/store/options.js' import asyncComponent from '@/utils/asyncComponent' import Utils, { getEditTableSql, getMark } from '@/utils/utils.js' import MkIcon from '@/components/mk-icon' @@ -939,6 +938,10 @@ if (item.type === 'text' && item.editable === 'true' && item.editType === 'select' && item.resourceType === '1') { let _option = Utils.getSelectQueryOptions(item) + if (window.GLOB.debugger === true || window.debugger === true) { + console.info(_option.sql) + } + item.base_sql = window.btoa(window.encodeURIComponent(_option.sql)) item.arr_field = _option.field @@ -1108,11 +1111,6 @@ localItems.push(`select '${item.uuid}' as obj_name,'${item.arr_field}' as arr_field,'${item.base_sql}' as LText`) } }) - - if (options.sysType !== 'local') { - localItems = [...localItems, ...mainItems] - mainItems = [] - } // 鏈湴璇锋眰 let param = { -- Gitblit v1.8.0