From dcfa09f5bac5a96f342429fec26d84132d556b54 Mon Sep 17 00:00:00 2001 From: jt <jt@activesoft.com.cn> Date: 星期四, 07 三月 2024 13:58:33 +0800 Subject: [PATCH] 5602/5600功能点action处理改进 --- pages/modal/5600.vue | 9 ++------- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git a/pages/modal/5600.vue b/pages/modal/5600.vue index b8d1872..640eeda 100644 --- a/pages/modal/5600.vue +++ b/pages/modal/5600.vue @@ -705,21 +705,16 @@ else if(item.action_type == "set_subtable_page_content"){ //宸茬爜鐩� $this.$data.param.Show_Welcom_Page=false; var value = item.value; - if(value.clear == true && $this.$data.detail1StyleDefList.length>0){ //鍒ゆ柇鏄惁娓呯┖椤电鍐呭,姝e湪鐮佺洏鏄惁鏈夋暟鎹�+ if(value.clear == true && $this.$data.detail1StyleDefList.length>0 && value.page_name == $this.$data.param.Sub_Page[0].Name){ //鍒ゆ柇鏄惁娓呯┖椤电鍐呭,姝e湪鐮佺洏鏄惁鏈夋暟鎹� uni.showModal({ title: '鎻愮ず', content: '绯荤粺妫�祴鍒版湁姝e湪鐮佺洏涓殑璐у搧锛岀户缁搷浣滀細娓呯┖锛屾槸鍚︾户缁紵', success: function (res) { if (res.confirm) { $this.$data.detail1StyleDefList=[]; - $this.$data.detail2StyleDefList=[]; $this.viewAceionContent(value); } else if (res.cancel) { - if(value.page_name == $this.$data.param.Sub_Page[0].Name){ //鍒ゆ柇杩斿洖鐨刟ction鐨刾age_name鏄惁鏄緟鍒嗘嫞 - $this.$data.detail1StyleDefList=[]; - }else{ - $this.$data.detail2StyleDefList=[]; - } + $this.$data.detail1StyleDefList=[]; $this.viewAceionContent(value); } } -- Gitblit v1.9.1