feat:完善舆情监测功能
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user