Explorar o código

Merge remote-tracking branch 'origin/demo_' into demo_

hfxc226 %!s(int64=2) %!d(string=hai) anos
pai
achega
8893266409
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      src/views/sb/info/modules/BaseForm.vue

+ 5 - 0
src/views/sb/info/modules/BaseForm.vue

@@ -1243,6 +1243,11 @@ export default {
         values.sbFileList = this.sbFileList
         values.paramList = JSON.stringify(this.paramList)
         values.useType = this.useType
+        if (values.isChild === '父设备') {
+          values.isChild = 0
+        } else if (values.isChild === '子设备') {
+          values.isChild = 1
+        }
         if (this.BaseTool.String.isBlank(values.id)) {
           addSbInfo(values)
             .then(() => {