修改算法库
This commit is contained in:
@@ -24,6 +24,7 @@ const adminInfo = useAdminInfo()
|
||||
defineOptions({
|
||||
name: 'database/algorithm'
|
||||
})
|
||||
const emits = defineEmits(['algorithm'])
|
||||
const height = mainHeight(20)
|
||||
const size = ref(23)
|
||||
|
||||
@@ -117,11 +118,9 @@ const info = () => {
|
||||
}
|
||||
// 点击echart
|
||||
const echartClick = (params: any) => {
|
||||
if (params.data.level == 3 && params.data.path != '') {
|
||||
router.push({
|
||||
name: params.data.path
|
||||
})
|
||||
}
|
||||
if(params.data.level == 3){
|
||||
emits('algorithm', params)
|
||||
}
|
||||
}
|
||||
const setTreeAllNodeExpand = (treeData: any) => {
|
||||
if (!treeData) return []
|
||||
|
||||
Reference in New Issue
Block a user