Przeglądaj źródła

点了没反应

shish 3 lat temu
rodzic
commit
c7b10fb608
1 zmienionych plików z 4 dodań i 4 usunięć
  1. 4 4
      ghsApp/src/components/module/app-commodity.vue

+ 4 - 4
ghsApp/src/components/module/app-commodity.vue

@@ -75,10 +75,10 @@ export default {
 	},
 	watch:{
 		info:{
-			handler(){
-				this.bigCount = this.info.bigCount
-				this.smallCount = this.info.smallCount
-				this.userPrice = this.info.userPrice
+			handler(newValue){
+				this.bigCount = newValue.bigCount
+				this.smallCount = newValue.smallCount
+				this.userPrice = newValue.userPrice
 			},
 			deep:true
 		}