|
|
@@ -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
|
|
|
}
|
|
|
},
|