优惠券相关修改更新
This commit is contained in:
@@ -96,22 +96,16 @@
|
||||
tableCode:{
|
||||
immediate: true,
|
||||
handler (newVal) {
|
||||
console.log(newVal)
|
||||
console.log("tableCode1==",this.tableCode)
|
||||
}
|
||||
},
|
||||
shopId:{
|
||||
immediate: true,
|
||||
handler (newVal) {
|
||||
console.log(newVal)
|
||||
console.log("shopId1==",this.shopId)
|
||||
}
|
||||
},
|
||||
|
||||
},
|
||||
mounted() {
|
||||
console.log("tableCode3==",this.tableCode)
|
||||
console.log("shopId3==",this.shopId)
|
||||
},
|
||||
methods: {
|
||||
|
||||
@@ -128,8 +122,6 @@
|
||||
* @param {Object} a
|
||||
*/
|
||||
async cartListadd(item, index, c) {
|
||||
console.log(this.shopId)
|
||||
console.log(this.tableCode)
|
||||
try {
|
||||
if ( c == "+" && item.isVip == 1){
|
||||
return;
|
||||
|
||||
@@ -55,17 +55,11 @@
|
||||
|
||||
},
|
||||
mounted() {
|
||||
console.log("tableCode==",this.tableCode)
|
||||
console.log("shopId==",this.shopId)
|
||||
},
|
||||
watch:{
|
||||
tableCode(newVal, oldValue) {
|
||||
console.log(newVal)
|
||||
console.log("tableCode2==",this.tableCode)
|
||||
},
|
||||
shopId(newVal, oldValue) {
|
||||
console.log(newVal)
|
||||
console.log("shopId2==",this.tableCode)
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
|
||||
Reference in New Issue
Block a user