From 34f4be5727bf4d0d231e0691a503cf0c9e5d00d3 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 27 一月 2021 19:10:56 +0800
Subject: [PATCH] 2021-01-27

---
 src/views/menudesign/index.jsx |   20 ++++++++++++++++++--
 1 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/src/views/menudesign/index.jsx b/src/views/menudesign/index.jsx
index 9cd3d8e..5c9d657 100644
--- a/src/views/menudesign/index.jsx
+++ b/src/views/menudesign/index.jsx
@@ -34,6 +34,7 @@
 const PasteController = asyncComponent(() => import('@/menu/pastecontroller'))
 const PaddingController = asyncComponent(() => import('@/menu/padcontroller'))
 const StyleController = asyncComponent(() => import('@/menu/stylecontroller'))
+// const PictureController = asyncComponent(() => import('@/menu/picturecontroller'))
 const StyleCombController = asyncComponent(() => import('@/menu/stylecombcontroller'))
 const StyleCombControlButton = asyncComponent(() => import('@/menu/stylecombcontrolbutton'))
 const ModalController = asyncComponent(() => import('@/menu/modalconfig/controller'))
@@ -101,6 +102,7 @@
     MKEmitter.addListener('submitComponentStyle', this.updateComponentStyle)
     MKEmitter.addListener('updateCustomComponent', this.updateCustomComponent)
     this.updateCustomComponent()
+    // this.getAppPictures()
   }
 
   /**
@@ -117,6 +119,19 @@
     MKEmitter.removeListener('submitComponentStyle', this.updateComponentStyle)
     MKEmitter.removeListener('updateCustomComponent', this.updateCustomComponent)
   }
+
+  // getAppPictures = () => {
+  //   Api.getSystemConfig({
+  //     func: 's_url_db_adduptdel',
+  //     id: '',
+  //     PageIndex: 0, // 0 浠h〃鍏ㄩ儴
+  //     PageSize: 0,  // 0 浠h〃鍏ㄩ儴
+  //     typecharone: 'image',
+  //     type: 'search'
+  //   }).then(res => {
+
+  //   })
+  // }
 
   updateCustomComponent = () => {
     Api.getSystemConfig({
@@ -900,10 +915,10 @@
                   {customComponents && customComponents.length ? <Panel header="鑷畾涔夌粍浠�" key="cuscomponent">
                     <SourceWrap components={customComponents} MenuType={MenuType} />
                   </Panel> : null}
-                  <Panel header={'鑳屾櫙'} key="background">
+                  <Panel header={'椤甸潰鑳屾櫙'} key="background">
                     {config ? <BgController config={config} updateConfig={this.updateConfig} /> : null}
                   </Panel>
-                  <Panel header={'鍐呰竟璺�'} key="padding">
+                  <Panel header={'椤甸潰鍐呰竟璺�'} key="padding">
                     {config ? <PaddingController config={config} updateConfig={this.updateConfig} /> : null}
                   </Panel>
                 </Collapse>
@@ -913,6 +928,7 @@
                   <div> {config && config.MenuName} </div>
                 } bordered={false} extra={
                   <div>
+                    {/* <PictureController/> */}
                     <StyleCombControlButton menu={config} />
                     <PasteController type="menu" Tab={null} insert={this.insert} />
                     {config ? <Switch className="big" checkedChildren={dict['mob.enable']} unCheckedChildren={dict['mob.disable']} checked={config.enabled} onChange={this.onEnabledChange} /> : null}

--
Gitblit v1.8.0