From ee635de6fc758c044db0761faa003d0db1e82563 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 07 八月 2023 20:32:35 +0800 Subject: [PATCH] Merge branch 'develop' --- src/views/imdesign/index.jsx | 15 +++++++-------- 1 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/views/imdesign/index.jsx b/src/views/imdesign/index.jsx index 47ab0c1..a250188 100644 --- a/src/views/imdesign/index.jsx +++ b/src/views/imdesign/index.jsx @@ -26,7 +26,6 @@ const StyleController = asyncComponent(() => import('@/menu/stylecontroller')) const NormalForm = asyncComponent(() => import('@/components/normalform')) -sessionStorage.setItem('isEditState', 'true') sessionStorage.setItem('appType', 'mob') // 搴旂敤绫诲瀷 document.body.className = '' window.GLOB.CacheIndependent = new Map() @@ -163,7 +162,7 @@ } getAppMessage = (MenuID) => { - Api.getSystemConfig({ + Api.getCloudConfig({ func: 's_get_keyids', bid: sessionStorage.getItem('appId') }).then(res => { @@ -199,19 +198,19 @@ } deffers = [new Promise(resolve => { setTimeout(() => { - Api.getSystemConfig({...param, typecharone: 'image'}).then(res => { + Api.getCloudConfig({...param, typecharone: 'image'}).then(res => { resolve(res.data) }) }, 500) }), new Promise(resolve => { setTimeout(() => { - Api.getSystemConfig({...param, typecharone: 'video'}).then(res => { + Api.getCloudConfig({...param, typecharone: 'video'}).then(res => { resolve(res.data) }) }, 1000) }), new Promise(resolve => { setTimeout(() => { - Api.getSystemConfig({...param, typecharone: 'color'}).then(res => { + Api.getCloudConfig({...param, typecharone: 'color'}).then(res => { resolve(res.data) }) }, 1500) @@ -272,7 +271,7 @@ MenuID: MenuId } - Api.getSystemConfig(param).then(result => { + Api.getCloudConfig(param).then(result => { if (!result.status) { notification.warning({ top: 92, @@ -337,7 +336,7 @@ _param.secretkey = Utils.encrypt(_param.LText, _param.timestamp) - Api.getSystemConfig(_param).then(res => { + Api.getCloudConfig(_param).then(res => { if (!res.status) { notification.warning({ top: 92, @@ -411,7 +410,7 @@ param.secretkey = Utils.encrypt('', param.timestamp) param.LongParam = window.btoa(window.encodeURIComponent(JSON.stringify(config))) - Api.getSystemConfig(param).then(res => { + Api.getCloudConfig(param).then(res => { if (!res.status) { notification.warning({ top: 92, -- Gitblit v1.8.0