From 17c0b280179b21bf85040bd0156b361bc85702b7 Mon Sep 17 00:00:00 2001 From: "3321822538@qq.com" <3321822538@qq.com> Date: Tue, 22 Oct 2024 16:53:52 +0800 Subject: [PATCH] 111 --- page_components/shebeixz.vue | 3 +++ page_fenbao/statulist/taocanlist/addtaocan/index.vue | 9 ++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/page_components/shebeixz.vue b/page_components/shebeixz.vue index edca7f3..a47e613 100644 --- a/page_components/shebeixz.vue +++ b/page_components/shebeixz.vue @@ -86,6 +86,9 @@ this.getlist() }, + onUnload() { + uni.setStorageSync('key','key') + }, // 分享到好友(会话) onShareAppMessage: function() { return { diff --git a/page_fenbao/statulist/taocanlist/addtaocan/index.vue b/page_fenbao/statulist/taocanlist/addtaocan/index.vue index b84c59a..e5c8a9d 100644 --- a/page_fenbao/statulist/taocanlist/addtaocan/index.vue +++ b/page_fenbao/statulist/taocanlist/addtaocan/index.vue @@ -328,7 +328,7 @@ {{title}} - + 删除 @@ -459,7 +459,7 @@ onLoad(option) { if (option.suitId) { this.deviceId = option.id - this.title = '修改' + this.title = '保存' this.suitId = option.suitId } else { this.deviceId = option.id @@ -644,7 +644,7 @@ this.$u.put('/app/suit', data).then((res) => { if (res.code == 200) { uni.showToast({ - title: '修改套餐成功', + title: '保存套餐成功', icon: 'success', duration: 1000, }) @@ -858,12 +858,15 @@ if (res.data.timeUnit == 2) { this.valuethr = '时' this.timeUnit = 2 + this.timetxt = '时' } else if (res.data.timeUnit == 3) { this.valuethr = '分' this.timeUnit = 3 + this.timetxt = '分' } else if (res.data.timeUnit == 4) { this.valuethr = '秒' this.timeUnit = 4 + this.timetxt = '秒' } if (res.data.feeMode == 1) { this.valueone = '单次收费'