jt
2024-03-07 dcfa09f5bac5a96f342429fec26d84132d556b54
pages/modal/5602.vue
@@ -709,21 +709,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){ //判断是否清空页签内容,正在分拣是否有数据
                           if(value.clear == true && $this.$data.detail1StyleDefList.length>0 && value.page_name == $this.$data.param.Sub_Page[0].Name){ //判断是否清空页签内容,正在分拣是否有数据
                              uni.showModal({
                                 title: '提示',
                                 content: '系统检测到有待分拣中的数据,继续操作会清空,是否继续?',
                                 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){ //判断返回的action的page_name是否是待分拣
                                       $this.$data.detail1StyleDefList=[];
                                      }else{
                                       $this.$data.detail2StyleDefList=[];
                                      }
                                      $this.$data.detail1StyleDefList=[];
                                      $this.viewAceionContent(value);
                                    }
                                 }