fix:alertTable解决报错
This commit is contained in:
@@ -163,13 +163,13 @@
|
|||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
alertActiveStr(){
|
alertActiveStr(){
|
||||||
return vm.$t('overall.active');
|
return this.$t('overall.active');
|
||||||
},
|
},
|
||||||
alertStateStr(num){
|
alertStateStr(num){
|
||||||
if( num == 1){
|
if( num == 1){
|
||||||
return vm.$t('asset.inStock')
|
return this.$t('asset.inStock')
|
||||||
} else {
|
} else {
|
||||||
return vm.$t('asset.notInStock')
|
return this.$t('asset.notInStock')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user