优化
This commit is contained in:
@@ -273,12 +273,7 @@
|
||||
let res = await getUserInfo()
|
||||
if (res.code === 1) {
|
||||
this.range2 = [...res.result]
|
||||
let name = this.$store.getters.userInfo !== '' ? JSON.parse(this.$store.getters.userInfo).username : ''
|
||||
this.range2.map(el => {
|
||||
if (el.text === name) {
|
||||
this.value2 = el.value
|
||||
}
|
||||
})
|
||||
this.value2 = this.$store.getters.userInfo !== '' ? JSON.parse(this.$store.getters.userInfo).username : ''
|
||||
this._getWarehouseInfo()
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user