RuoYi
2026-03-11 39c1dafced38faae3cc83679bd08dfd482ba08d3
ruoyi-ui/src/views/tool/build/TreeNodeDialog.vue
@@ -59,7 +59,7 @@
      <div slot="footer">
        <el-button
          type="primary"
          @click="handelConfirm"
          @click="handleConfirm"
        >
          确定
        </el-button>
@@ -115,7 +115,6 @@
  },
  computed: {},
  watch: {
    // eslint-disable-next-line func-names
    'formData.value': function (val) {
      this.dataType = isNumberStr(val) ? 'number' : 'string'
    }
@@ -133,7 +132,7 @@
    close() {
      this.$emit('update:visible', false)
    },
    handelConfirm() {
    handleConfirm() {
      this.$refs.elForm.validate(valid => {
        if (!valid) return
        if (this.dataType === 'number') {