test tree
This commit is contained in:
parent
9942139736
commit
fd3eb2e065
@ -146,7 +146,7 @@ const _sfc_main$1 = defineComponent({
|
|||||||
class: normalizeClass({
|
class: normalizeClass({
|
||||||
"layui-tree-txt": true,
|
"layui-tree-txt": true,
|
||||||
"layui-disabled": node.isDisabled,
|
"layui-disabled": node.isDisabled,
|
||||||
"layui-this": __props.selectedKey === node.id
|
"layui-this": __props.selectedKey === node.id || node.isChecked
|
||||||
}),
|
}),
|
||||||
onClick: withModifiers(($event) => handleTitleClick(node), ["stop"])
|
onClick: withModifiers(($event) => handleTitleClick(node), ["stop"])
|
||||||
}, [
|
}, [
|
||||||
|
@ -17743,7 +17743,7 @@ const _sfc_main$K = defineComponent({
|
|||||||
class: normalizeClass({
|
class: normalizeClass({
|
||||||
"layui-tree-txt": true,
|
"layui-tree-txt": true,
|
||||||
"layui-disabled": node.isDisabled,
|
"layui-disabled": node.isDisabled,
|
||||||
"layui-this": __props.selectedKey === node.id
|
"layui-this": __props.selectedKey === node.id || node.isChecked
|
||||||
}),
|
}),
|
||||||
onClick: withModifiers(($event) => handleTitleClick(node), ["stop"])
|
onClick: withModifiers(($event) => handleTitleClick(node), ["stop"])
|
||||||
}, [
|
}, [
|
||||||
|
@ -182,7 +182,7 @@ const isChildAllSelected = computed(() => {
|
|||||||
:class="{
|
:class="{
|
||||||
'layui-tree-txt': true,
|
'layui-tree-txt': true,
|
||||||
'layui-disabled': node.isDisabled,
|
'layui-disabled': node.isDisabled,
|
||||||
'layui-this': selectedKey === node.id,
|
'layui-this': selectedKey === node.id || node.isChecked,
|
||||||
}"
|
}"
|
||||||
@click.stop="handleTitleClick(node)"
|
@click.stop="handleTitleClick(node)"
|
||||||
>
|
>
|
||||||
|
104
umd/index.js
104
umd/index.js
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user