zuozhengqing
2024-04-07 12b5feba10e8f30553999d77205eb25ec0598f90
src/views/productManage/productRegisterForm/addProductRegisterPage.vue
@@ -5,7 +5,7 @@
        <el-button type="primary" size="small">放弃</el-button>
        <el-button type="primary" size="small">保存</el-button>
        <el-divider direction="vertical"></el-divider>
        <el-button type="primary" size="small">退出</el-button>
        <el-button type="primary" size="small" @click="quitClick">退出</el-button>
      </div>
      <div class="t-right">
        <div class="t-right-circle" :class="isDeviceConnectStatus ? 't-r-bg-green ' : 't-r-bg-red '"></div>
@@ -226,7 +226,7 @@
  computed: {},
  data() {
    return {
      isDeviceConnectStatus: false,
      isDeviceConnectStatus: true,
      ruleForm: {
        number: "",
        productTime: "",
@@ -281,6 +281,10 @@
      if (this.isDeviceConnectStatus) {
        this.$refs.addProductDialog.editDialogVisible = true
      }
    },
    // 退出
    quitClick() {
      this.$router.go(-1)
    }
  }
}