fix:修改所有提示框回调为驼峰命名
This commit is contained in:
parent
053c5c3483
commit
cf6ac8cddf
|
@ -241,7 +241,7 @@
|
|||
|
||||
<!-- 弹出提示 -->
|
||||
<model-pop :show.sync="popShow" :title="popTitle" :status="popStatus" :text="popText"
|
||||
@back_function="backFunctionPop"></model-pop>
|
||||
@backFunction="backFunctionPop"></model-pop>
|
||||
<!-- tab -->
|
||||
<tab-component v-if="!suspension" :current="1" />
|
||||
</div>
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
<div id="exchangePage">
|
||||
<!-- 时提框 -->
|
||||
<model-pop :show.sync="popShow" :title="popTitle" :status="popStatus" :text="popText"
|
||||
@back_function="backFunctionPop"></model-pop>
|
||||
@backFunction="backFunctionPop"></model-pop>
|
||||
|
||||
<div v-if="!suspension" class="content">
|
||||
<!-- 返回模块-->
|
||||
|
@ -218,7 +218,7 @@
|
|||
document.title = sessionStorage.getItem('title');
|
||||
let detailsConfig = JSON.parse(sessionStorage.getItem('product_detail'));
|
||||
goodsCount = sessionStorage.getItem('goodsCount');
|
||||
this.backAble = goodsCount > 1;//多个商品才有返回
|
||||
this.backAble = true;//多个商品才有返回
|
||||
this.bgcolor = detailsConfig.button_color;
|
||||
this.ftColor = detailsConfig.font_color;
|
||||
this.describe = detailsConfig.describe;
|
||||
|
@ -255,11 +255,11 @@
|
|||
},
|
||||
|
||||
backHandler () {
|
||||
if (goodsCount > 1) {
|
||||
window.location.replace('./couponCollection.html');
|
||||
} else {
|
||||
history.go(-2);
|
||||
}
|
||||
// if (goodsCount > 1) {
|
||||
window.location.replace('./myOrder.html');
|
||||
// } else {
|
||||
// history.go(-2);
|
||||
// }
|
||||
},
|
||||
|
||||
// 单条弹框
|
||||
|
|
|
@ -45,7 +45,7 @@ const modelPop = {
|
|||
colesFunction(type) {
|
||||
/* type 关闭方式 */
|
||||
this.$emit("update:show", false)
|
||||
this.$emit("back_function", type)
|
||||
this.$emit("backfunction", type)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue