fix: 修复pc测试过程中遇到的问题

This commit is contained in:
yanps
2024-09-02 17:30:30 +08:00
parent cd0fca8095
commit 75310dc523
12 changed files with 154 additions and 101 deletions

View File

@@ -23,9 +23,9 @@
<el-select v-model="value" placeholder="请选择">
<el-option
v-for="item in options"
:key="item.point_code"
:label="item.point_name"
:value="item.point_code"
:key="item.device_code"
:label="item.device_name"
:value="item.device_code"
class="option-wraper"
/>
</el-select>
@@ -75,7 +75,7 @@ export default {
crudProduceScreen.authLogin({ username: this.username, password: encrypt(this.password) }).then(res => {
this.disabled = false
crudProduceScreen.getUserOrDevice({ username: this.username }).then(res => {
this.options = [...res.content]
this.options = [...res]
this.show = true
})
}).catch(() => {