From cc18be9b29ffd2266ff78427690bfdc97cccd536 Mon Sep 17 00:00:00 2001 From: evoxwht <442384644@qq.com> Date: Wed, 24 Feb 2021 14:09:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A8=A1=E6=9D=BF=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E8=AE=BE=E8=AE=A1=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/template/admin/src/pages/setting/devise/index.vue | 2 +- src/template/uni-app/App.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/template/admin/src/pages/setting/devise/index.vue b/src/template/admin/src/pages/setting/devise/index.vue index 674d8f72..1e2857ea 100644 --- a/src/template/admin/src/pages/setting/devise/index.vue +++ b/src/template/admin/src/pages/setting/devise/index.vue @@ -48,7 +48,7 @@ this.setConfig = names +'/setConfig'; this.updataConfig = names +'/updataConfig'; this.pageId = parseInt(pageId); - this.iframeUrl = `${location.origin}?type=iframe`; + this.iframeUrl = `${location.origin}?type=crmebDiy`; diyGetInfo(parseInt(pageId)).then(datas=>{ let data = datas.data.info.value; this.upData(data); diff --git a/src/template/uni-app/App.vue b/src/template/uni-app/App.vue index f563721a..7d56f54c 100644 --- a/src/template/uni-app/App.vue +++ b/src/template/uni-app/App.vue @@ -58,7 +58,7 @@ export default { }); // #ifdef H5 - if (option.query.hasOwnProperty('type')) { + if (option.query.hasOwnProperty('type') && option.query.type=="crmebDiy") { this.globalData.isIframe = true; } else { this.globalData.isIframe = false; -- GitLab