新增树分割组件TreePanel

This commit is contained in:
RuoYi
2026-04-02 11:37:10 +08:00
parent 27d87d3101
commit 3b35a0d76a
13 changed files with 838 additions and 148 deletions

View File

@@ -345,7 +345,7 @@ export default {
// 多选框选中数据
handleSelectionChange(selection) {
this.ids = selection.map(item => item.dictCode)
this.single = selection.length!=1
this.single = selection.length != 1
this.multiple = !selection.length
},
/** 修改按钮操作 */
@@ -359,7 +359,7 @@ export default {
})
},
/** 提交按钮 */
submitForm: function() {
submitForm() {
this.$refs["form"].validate(valid => {
if (valid) {
if (this.form.dictCode != undefined) {