From e946b98abf86db1b2e072042d2aa73974184385d Mon Sep 17 00:00:00 2001 From: luyuan <1162963624@qq.com> Date: Mon, 10 Aug 2020 17:31:56 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E9=98=B2=E6=AD=A2=E5=A4=9A=E6=AC=A1?= =?UTF-8?q?=E7=82=B9=E5=87=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/release/tosign.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pages/release/tosign.vue b/pages/release/tosign.vue index 647a8c4..4fce7b8 100644 --- a/pages/release/tosign.vue +++ b/pages/release/tosign.vue @@ -62,7 +62,8 @@ fileListes:[], rSelect:[], image:"", - token:"" + token:"", + tiaozhuan:false }; }, methods: { @@ -115,6 +116,10 @@ }) }, kaibo(){ + if(this.tiaozhuan){ + return ; + } + this.tiaozhuan = true this.$u.api.createChatRoom({ chat_name:this.max, live_desc:this.form.text, @@ -128,6 +133,7 @@ title: res.message, type: 'error' }); + this.tiaozhuan = false } this.$u.route({ url:"/pages/release/zhibo", From 0a8f2f815d84813b6ece2c559370a5c96e208cdb Mon Sep 17 00:00:00 2001 From: Gdpao <1341331954@qq.com> Date: Mon, 10 Aug 2020 19:03:44 +0800 Subject: [PATCH 2/2] GDPAO --- pages/release/tosign.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pages/release/tosign.vue b/pages/release/tosign.vue index 647a8c4..0728426 100644 --- a/pages/release/tosign.vue +++ b/pages/release/tosign.vue @@ -80,6 +80,7 @@ tupian(){ uni.hideLoading() }, + sccg() {}, // 选中某个复选框时,由checkbox时触发 checkboxChange(e) { //console.log(e); @@ -106,8 +107,11 @@ this.init() }, tupian(a){ - console.log(JSON.parse(a.data)) - this.image = JSON.parse(a.data).data.file_name + // console.log(JSON.parse(a.data)); + let info = JSON.parse(a.data); + console.log(info.data.file_path); + // console.log(JSON.stringify(a.data)) + this.image = info.data.file_path; }, navto(url){ this.$u.route({