Commit b76be16f authored by Marcus's avatar Marcus

后台切换语言时,有些字典未切换语言,需要手动刷新页面

http://zentao.jdshangmen.com/bug-view-2059.html
parent ec0ab59a
......@@ -495,7 +495,15 @@ export default {
currencyList:[]
};
},
watch:{
isChinese(){
this.getList()
}
},
computed: {
isChinese(){
return this.$i18n.locale === 'zh_CN'
},
exportWarehouseList(){
/* tradeType 1 进口,2出口,3进出口 */
return this.warehouseList.filter(item => item.tradeType == 2 || item.tradeType == 3)
......@@ -680,4 +688,4 @@ export default {
}
}
}
</style>
\ No newline at end of file
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment