handleContextMenu(e, itemGroupIndex, item)">
+
handleContextMenu(e, itemGroupIndex, item)"
+ >
([
filter=".not-drag"
:disabled="!monitorGroup.sortStatus"
>
- handleContextMenu(e, itemGroupIndex, item)">
+
handleContextMenu(e, itemGroupIndex, item)"
+ >
([
-
+
diff --git a/src/components/deskModule/SystemMonitor/typings.ts b/src/components/deskModule/SystemMonitor/typings.ts
index f62d50c..148b0b4 100644
--- a/src/components/deskModule/SystemMonitor/typings.ts
+++ b/src/components/deskModule/SystemMonitor/typings.ts
@@ -12,7 +12,7 @@ export interface MonitorData {
monitorType: MonitorType
extendParam?: { [key: string]: [value:any] } | any
description?: string
- cardStyle: CardStyle
+ // cardStyle: CardStyle
}
export interface ProgressStyle {
diff --git a/src/store/modules/moduleConfig/index.ts b/src/store/modules/moduleConfig/index.ts
index 7b24926..cf8bcb8 100644
--- a/src/store/modules/moduleConfig/index.ts
+++ b/src/store/modules/moduleConfig/index.ts
@@ -33,10 +33,10 @@ export const useModuleConfig = defineStore('module-config-store', {
},
// 保存到网络
- saveToCloud(name: string, value: any) {
+ async saveToCloud(name: string, value: any) {
const moduleName = `module-${name}`
// 保存至网络
- save(moduleName, value)
+ return save(moduleName, value)
},
// 从网络同步