opt: 设备优化

This commit is contained in:
yanps
2024-02-23 16:37:01 +08:00
parent d4c89bc50f
commit 7282a6ef66
106 changed files with 845 additions and 326 deletions

View File

@@ -135,7 +135,7 @@ export default {
props: {
parentForm: {
type: Object,
require: true
required: true
}
},
cruds() {
@@ -164,9 +164,9 @@ export default {
created() {
deviceCrud.selectDeviceList().then(data => {
this.deviceList = data
}),
})
selectById(this.id).then(data => {
if (data != null && data != '') {
if (data != null && data !== '') {
console.log(data)
this.modeform = data
}