ソースを参照

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

hfxc226 2 年 前
コミット
8893266409
1 ファイル変更5 行追加0 行削除
  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(() => {