test tree

This commit is contained in:
Theluyuan 2023-05-18 08:25:05 +08:00
parent fd3eb2e065
commit 02605d2e98
4 changed files with 10 additions and 1 deletions

View File

@ -65,6 +65,9 @@ const _sfc_main$1 = defineComponent({
if (!node.isDisabled) {
emit("node-click", node);
}
if (props.showCheckbox) {
node.isChecked = !node.isChecked;
}
}
function handleRowClick(node) {
if (!props.showLine) {

View File

@ -17662,6 +17662,9 @@ const _sfc_main$K = defineComponent({
if (!node.isDisabled) {
emit("node-click", node);
}
if (props.showCheckbox) {
node.isChecked = !node.isChecked;
}
}
function handleRowClick(node) {
if (!props.showLine) {

View File

@ -101,6 +101,9 @@ function handleTitleClick(node: TreeData) {
if (!node.isDisabled) {
emit("node-click", node);
}
if(props.showCheckbox){
node.isChecked = !node.isChecked
}
}
function handleRowClick(node: TreeData) {

File diff suppressed because one or more lines are too long