From 7b01bec1609710729a868093ad69484ebea82d80 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 20 十月 2020 10:16:26 +0800 Subject: [PATCH] 2020-10-20 --- src/templates/zshare/createinterface/index.jsx | 11 +++-------- 1 files changed, 3 insertions(+), 8 deletions(-) diff --git a/src/templates/zshare/createinterface/index.jsx b/src/templates/zshare/createinterface/index.jsx index 89a9089..34364f1 100644 --- a/src/templates/zshare/createinterface/index.jsx +++ b/src/templates/zshare/createinterface/index.jsx @@ -360,7 +360,7 @@ type: 'radio', key: 'TryType', label: '浜嬪姟', - initval: 'N', + initval: 'Y', required: true, options: [{ value: 'Y', @@ -569,14 +569,9 @@ }).then(res => { if (res === false) return res - if (window.GLOB.mainSystemApi) { - _mainParam.rduri = window.GLOB.mainSystemApi - - return Api.getLocalConfig(_mainParam) - } - return 'success' + return Api.getCloudConfig(_mainParam) }).then(res => { - if (res === false || res === 'success') return res + if (res === false) return res if (!res.status) { notification.warning({ -- Gitblit v1.8.0