mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-01 14:10:27 +08:00
优化
This commit is contained in:
parent
afdb674824
commit
608552f7f8
@ -109,8 +109,10 @@ export default defineComponent({
|
|||||||
|
|
||||||
// 监听选择
|
// 监听选择
|
||||||
function onCheckChange() {
|
function onCheckChange() {
|
||||||
|
if (refs.value.tree) {
|
||||||
emit("update:modelValue", refs.value.tree.getCheckedKeys());
|
emit("update:modelValue", refs.value.tree.getCheckedKeys());
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// 监听过滤
|
// 监听过滤
|
||||||
watch(keyword, (val: string) => {
|
watch(keyword, (val: string) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user