From ecbe0dc46ce2b8f607b9afd063104adeb7f10fe8 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 30 三月 2021 15:19:31 +0800 Subject: [PATCH] 2021-03-30 --- src/views/pcdesign/index.jsx | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/views/pcdesign/index.jsx b/src/views/pcdesign/index.jsx index a6c55e8..c814a3f 100644 --- a/src/views/pcdesign/index.jsx +++ b/src/views/pcdesign/index.jsx @@ -31,6 +31,7 @@ const PasteController = asyncComponent(() => import('@/menu/pastecontroller')) const StyleController = asyncComponent(() => import('@/menu/stylecontroller')) const SysInterface = asyncComponent(() => import('@/menu/sysinterface')) +const UrlFieldComponent = asyncComponent(() => import('@/menu/urlfieldcomponent')) const PictureController = asyncComponent(() => import('@/menu/picturecontroller')) const ModalController = asyncComponent(() => import('@/menu/modalconfig/controller')) const StyleCombController = asyncComponent(() => import('@/menu/stylecombcontroller')) @@ -43,6 +44,7 @@ document.body.className = '' window.GLOB.UserComponentMap = new Map() // 缂撳瓨鐢ㄦ埛鑷畾涔夌粍浠� window.GLOB.CacheIndependent = new Map() +window.GLOB.urlFields = [] // url鍙橀噺 class MenuDesign extends Component { state = { @@ -446,6 +448,7 @@ config.uuid = MenuId config.MenuID = MenuId config.open_edition = result.open_edition || '' + window.GLOB.urlFields = config.urlFields || [] if (urlParam.fixed) { config.fixed = true @@ -1424,6 +1427,7 @@ MenuId={MenuId} updateConfig={this.updateConfig} /> : null} + {config ? <UrlFieldComponent config={config} updateConfig={this.updateConfig}/> : null} {/* 琛ㄥ悕娣诲姞 */} {config ? <TableComponent config={config} updatetable={this.updateConfig}/> : null} </Panel> -- Gitblit v1.8.0