shish 3 лет назад
Родитель
Сommit
8579d82139
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      ghsApp/src/admin/breakage/index.vue

+ 3 - 3
ghsApp/src/admin/breakage/index.vue

@@ -140,11 +140,11 @@ export default {
 
 		},
 		switchGlobalUnitType(){
-			if(this.unitType == 0){
-				this.unitType = 1
+			if(this.globalUnitType == 0){
+				this.globalUnitType = 1
 				this.customData.bigCount = null
 			}else{
-				this.unitType = 0
+				this.globalUnitType = 0
 				this.customData.smallCount = null
 			}
 		},