export default {
- name: "footer"
+ name: "footer",
+ data() {
+ return {
+ year: new Date().getFullYear()
+ }
+ },
};
diff --git a/seller/src/views/my-components/verify/index.vue b/seller/src/views/my-components/verify/index.vue
index 5f13fee8..2cbb8824 100644
--- a/seller/src/views/my-components/verify/index.vue
+++ b/seller/src/views/my-components/verify/index.vue
@@ -3,7 +3,7 @@
![]()
-
+
@@ -82,27 +82,24 @@ export default {
this.verifyText = '解锁失败';
let that = this;
setTimeout(() => {
- that.refresh();
+ that.init();
}, 1000);
this.$emit('change', { status: false, distance: this.distance });
}
} else {
- this.refresh()
+ this.init()
}
}).catch(()=>{
- this.refresh()
+ this.init()
});
},
- refresh () { // 刷新滑块
+ init () { // 初始化数据
this.flag = false;
this.downX = 0;
this.distance = 0;
this.bgColor = '#04ad11';
this.verifyText = '拖动滑块解锁';
- this.init();
- },
- init () { // 初始化数据
getVerifyImg(this.type).then(res => {
if (res.result) {
this.data = res.result;
diff --git a/seller/src/views/promotion/coupon/coupon.vue b/seller/src/views/promotion/coupon/coupon.vue
index a26b98c5..2fc09243 100644
--- a/seller/src/views/promotion/coupon/coupon.vue
+++ b/seller/src/views/promotion/coupon/coupon.vue
@@ -108,7 +108,7 @@ export default {
render: (h, params) => {
return h(
"div",
- params.row.receivedNum + "/" + (params.row.publishNum === 0 ? '无限制' : params.row.publishNum)
+ params.row.receivedNum + "/" + (params.row.publishNum === 0 ? '不限制' : params.row.publishNum)
);
},
},