fix: 修改 asset model 下滑页面 状态搜索不可用的问题

This commit is contained in:
zhangyu
2021-11-09 11:22:52 +08:00
parent 17bc197e47
commit f4284e062a
4 changed files with 8 additions and 5 deletions

View File

@@ -468,7 +468,8 @@ export default {
placeholder: {
type: String,
default: ''
}
},
targetTab: {}
},
methods: {
// dc
@@ -1465,7 +1466,7 @@ export default {
this.defaultValue != '' ? this.no_condition=this.defaultValue:''; */
this.restructure_historyDate()
setTimeout(() => {
if (this.$route.path === '/asset') {
if (this.$route.path === '/asset' || this.targetTab === 'asset') {
this.getAssetStateData()
}
if (this.$route.path === '/agent') {