diff --git a/src/components/commonBtn.vue b/src/components/commonBtn.vue index 72cbedea..23fefad3 100644 --- a/src/components/commonBtn.vue +++ b/src/components/commonBtn.vue @@ -9,6 +9,11 @@ import {myMixins} from "@/utils/myMixins" export default { name: "commonBtn", mixins:[myMixins], + data(){ + return{ + noClick:true + } + }, props: { title: { type: String, diff --git a/src/components/twoBtnCommon.vue b/src/components/twoBtnCommon.vue index 2e8d3324..6af1e570 100644 --- a/src/components/twoBtnCommon.vue +++ b/src/components/twoBtnCommon.vue @@ -10,6 +10,11 @@ import {myMixins} from "@/utils/myMixins" export default { name: "twoBtnCommon", mixins:[myMixins], + data(){ + return{ + noClick:true + } + }, props:{ title1:{ type:String, diff --git a/src/views/index/reporting.vue b/src/views/index/reporting.vue index 7a9f003f..85fd69c0 100644 --- a/src/views/index/reporting.vue +++ b/src/views/index/reporting.vue @@ -37,7 +37,7 @@
- + @@ -57,7 +57,6 @@ export default { queryType:'', userOrderId:'', orderCode:'', - noClick:true, } }, mounted() { @@ -82,6 +81,7 @@ export default { this.radio=e }, async goReporting(){ + console.log("1111") if(this.isRadio || this.isTxt){ let result = await orderReporting({ queryType:this.queryType,