From 73404a4ff758f2afe95604821bdeea4273650772 Mon Sep 17 00:00:00 2001 From: blak-kong <546598185@qq.com> Date: Wed, 24 Jan 2024 10:36:21 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=B4=E6=92=AD=E9=97=B4=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- flossom-ui/src/views/system/setting/index.vue | 13 +- .../views/system/siteCarouselInfo/index.vue | 1737 +++++++++-------- .../src/views/system/siteInfo/index.vue | 1735 ++++++++-------- 3 files changed, 1938 insertions(+), 1547 deletions(-) diff --git a/flossom-ui/src/views/system/setting/index.vue b/flossom-ui/src/views/system/setting/index.vue index 8bf2fe9..b2e6761 100644 --- a/flossom-ui/src/views/system/setting/index.vue +++ b/flossom-ui/src/views/system/setting/index.vue @@ -381,6 +381,7 @@ export default { } if (this.form.value) { this.form.value = this.form.value.replace(/\\/g, '') // 兼容表格 + this.form.value = encodeURIComponent(this.form.value) console.log(" this.form.value", this.form.value) } @@ -432,30 +433,30 @@ export default { // 处理回显逻辑 this.settingList.forEach((item) => { if (item.key == 'USER_AGREEMENT') { - this.userAgreementFrom.userAgreement = item.value + this.userAgreementFrom.userAgreement = decodeURIComponent(item.value); this.userAgreementFrom.userAgreementId = item.id } if (item.key == 'PRIVACY_AGREEMENT') { - this.privacyAgreementFrom.privacyAgreement = item.value + this.privacyAgreementFrom.privacyAgreement = decodeURIComponent(item.value); this.privacyAgreementFrom.privacyAgreementId = item.id } if (item.key == 'INTEGRAL_RULE') { - this.integralRuleFrom.integralRule = item.value + this.integralRuleFrom.integralRule = decodeURIComponent(item.value); this.integralRuleFrom.integralRuleId = item.id } if (item.key == 'ABOUT_US') { - this.aboutUsFrom.aboutUs = item.value + this.aboutUsFrom.aboutUs = decodeURIComponent(item.value); this.aboutUsFrom.aboutUsId = item.id } if (item.key == 'BLUETOOTH_GUIDANCE_PERMISSIONS') { this.bluetoothGuidancePermissionsFrom.bluetoothGuidancePermissions = - item.value + decodeURIComponent(item.value); this.bluetoothGuidancePermissionsFrom.bluetoothGuidancePermissionsId = item.id } if (item.key == 'LOCATION_GUIDANCE_PERMISSIONS') { this.locationGuidancePermissionsFrom.locationGuidancePermissions = - item.value + decodeURIComponent(item.value); this.locationGuidancePermissionsFrom.locationGuidancePermissionsId = item.id } diff --git a/flossom-ui/src/views/system/siteCarouselInfo/index.vue b/flossom-ui/src/views/system/siteCarouselInfo/index.vue index 188b29e..0df6d13 100644 --- a/flossom-ui/src/views/system/siteCarouselInfo/index.vue +++ b/flossom-ui/src/views/system/siteCarouselInfo/index.vue @@ -1,781 +1,980 @@ diff --git a/flossom-ui/src/views/system/siteInfo/index.vue b/flossom-ui/src/views/system/siteInfo/index.vue index b8840f0..836eb14 100644 --- a/flossom-ui/src/views/system/siteInfo/index.vue +++ b/flossom-ui/src/views/system/siteInfo/index.vue @@ -1,784 +1,975 @@