opt: 设备优化
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user