sd
2025-07-28 e7d40e5061afb87166c0929050ea721cc2956b76
src/pages/cameraAccess/components/CameraInfo.vue
@@ -315,7 +315,7 @@
                  return obj
                })
                this.resolutionList = list
                this.sensors = res.data.sensors
                // this.sensors = res.data.sensors
              }
              this.$nextTick(() => {
@@ -382,7 +382,7 @@
    },
    // 保存
    onSubmit(formName) {
      let list = this.$refs.cameraEditor.getResult()
      // let list = this.$refs.cameraEditor.getResult()
      this.$refs[formName].validate(async (valid) => {
        if (valid) {
          const isRequire = this.verifyRequrie()
@@ -390,7 +390,7 @@
          this.form.latitude = Number.isNaN(parseFloat(this.form.latitude)) ? 0 : parseFloat(this.form.latitude)
          this.form.longitude = Number.isNaN(parseFloat(this.form.longitude)) ? 0 : parseFloat(this.form.longitude)
          this.form.sensors = list
          // this.form.sensors = list
          this.form.resolution_width = Number(this.form.resolution.split("*")[0])
          this.form.resolution_height = Number(this.form.resolution.split("*")[1])
          let _this = this