Commit 5e40f738 authored by liujiangnan's avatar liujiangnan

feat

parent aadcd55e
......@@ -53,7 +53,7 @@ new Vue({
});
},
loadChildren(item) {
if (item.has_child === 0) {
if (!item.has_child) {
return; // 如果没有子节点,则不进行操作
}
$.ajax({
......@@ -96,6 +96,9 @@ new Vue({
}
},
showEnlargedCard(item) {
if (item.has_child == 1) {
return;
}
this.enlargedCard = { ...item };
},
hideEnlargedCard() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment