This commit is contained in:
2024-07-23 09:56:52 +08:00
parent 8aed7c990f
commit 733be3cff1

View File

@@ -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()
}
},