增加店铺账号到期提醒
This commit is contained in:
@@ -314,6 +314,11 @@ export default {
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
// 增加首页提示是否账号30天过期
|
||||
let date = dayjs(localStorage.getItem("expireDate")).diff(dayjs().format('YYYY-MM-DD'), 'day')
|
||||
if (date <= 30 && date >= 0) {
|
||||
this.$alert(`店铺账号有限期至${localStorage.getItem("expireDate")},店铺账号到期剩余${date}天!`, '提示');
|
||||
}
|
||||
// this.summaryGet();
|
||||
this.dateAmount();
|
||||
this.dateProduct();
|
||||
|
||||
Reference in New Issue
Block a user