feat:完善舆情监测功能

This commit is contained in:
zjc
2024-12-26 13:46:27 +08:00
parent 50a6b06381
commit 809c950301
11 changed files with 192 additions and 139 deletions

View File

@@ -8,7 +8,7 @@
<template #dropdown>
<el-dropdown-menu>
<el-dropdown-item v-for="(item, index) in options" :key="index" :command="item">
<span class="label"> {{ item.label }}</span>
<span class="label"> {{ item.ssname }}</span>
</el-dropdown-item>
</el-dropdown-menu>
</template>
@@ -27,8 +27,10 @@
default: () => []
}
})
let emit = defineEmits(['on-change'])
const handleCommand = (command) => {
console.log(command)
emit('on-change', command)
}
</script>