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