重新测试完成pk和竞赛列表

This commit is contained in:
田岩
2025-11-12 15:09:21 +08:00
parent aacb03c0a2
commit f9c716f33c
5 changed files with 34 additions and 20 deletions
@@ -81,7 +81,7 @@
const orgTree = ref(orgTreeInit);
// 把全行信息插入
const selectedPaths = ref([initSelect]);
const selectedPaths = ref([]);
const updateSelectedPaths = (node, level) => {
console.log('node', node);
@@ -101,7 +101,7 @@
};
const click_button = (type) => {
if (type === 'reset') {
updateSelectedPaths(initSelect, 0);
updateSelectedPaths({ orgName: '全部', orgId: 'A', parentId: '' }, 0);
} else if (type === 'confirm') {
emit('submit', JSON.parse(JSON.stringify(selectedPaths.value)));
} else if (type === 'all') {