1
This commit is contained in:
parent
9a9ee5936d
commit
1ac2c7c9e9
|
|
@ -35,6 +35,7 @@
|
|||
"unplugin-imagemin": "^0.6.9",
|
||||
"vite": "^6.3.5",
|
||||
"vite-plugin-compression": "^0.5.1",
|
||||
"vite-plugin-purgecss": "^0.2.13",
|
||||
"vite-plugin-remove-console": "^2.2.0"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
579
pnpm-lock.yaml
579
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
|
|
@ -53,12 +53,10 @@ const props = defineProps({
|
|||
},
|
||||
startTime: {
|
||||
//起始时间
|
||||
|
||||
default: new Date("2024-05-16 16:56:04")
|
||||
},
|
||||
endTime: {
|
||||
//结束时间
|
||||
|
||||
default: new Date("2024-05-23 10:16:56")
|
||||
},
|
||||
initPosition: {
|
||||
|
|
|
|||
|
|
@ -405,7 +405,7 @@ export const useKeyNodeRecognitionStore = defineStore("keyNodeRecognition", {
|
|||
statisticsList: [
|
||||
{ id: 1, name: "节点数", icon: nodeNumber, number: 0 },
|
||||
{ id: 2, name: "社团数", icon: teamNumber, number: Object.keys(communityList).length },
|
||||
{ id: 3, name: "推荐锚点账号", icon: monitor, number: 20 },
|
||||
{ id: 3, name: "推荐锚点账号", icon: monitor, number: Object.keys(anchorList).length },
|
||||
{ id: 4, name: "锚点实时关注话题", icon: warning, number: 0 },
|
||||
{ id: 5, name: "高风险事件", icon: danger, number: 0 }
|
||||
],
|
||||
|
|
@ -2097,7 +2097,7 @@ export const useKeyNodeRecognitionStore = defineStore("keyNodeRecognition", {
|
|||
this.statisticsList.find((item) => item.name == "节点数").number = nodeTotal
|
||||
}
|
||||
},
|
||||
persist: false // 开启持久化
|
||||
persist: true // 开启持久化
|
||||
})
|
||||
|
||||
export const useOptionLeaderDiscoveryStore = defineStore("OptionLeaderDiscovery", {
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ import { visualizer } from "rollup-plugin-visualizer"
|
|||
import compression from "vite-plugin-compression"
|
||||
import path from "path"
|
||||
import cssnano from "cssnano" //压缩css工具
|
||||
import imagemin from "unplugin-imagemin/vite" //图片压缩工具
|
||||
|
||||
export default defineConfig(({ mode, command }) => {
|
||||
// 加载环境变量
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user