+ >
{{ props.componentData.chartConfig.title }}
@@ -43,6 +40,7 @@ const props = defineProps({
}
})
+// eslint-disable-next-line vue/no-setup-props-destructure
const { image } = props.componentData.chartConfig
// 计算当前选中目标
@@ -80,7 +78,7 @@ $textSize: 10px;
/* 需要设置最高级,覆盖 hover 的颜色 */
background-color: rgba(0, 0, 0, 0);
.list-img {
- border:1px solid v-bind('themeColor')!important;
+ border: 1px solid v-bind('themeColor') !important;
}
}
.select-modal,
diff --git a/src/views/chart/hooks/useSync.hook.ts b/src/views/chart/hooks/useSync.hook.ts
index 09a26aa9..a448f0e7 100644
--- a/src/views/chart/hooks/useSync.hook.ts
+++ b/src/views/chart/hooks/useSync.hook.ts
@@ -35,7 +35,7 @@ export const useSync = () => {
}
if (e.isGroup) {
- ;(e as CreateComponentGroupType).groupList.forEach(groupItem => {
+ (e as CreateComponentGroupType).groupList.forEach(groupItem => {
intComponent(groupItem)
})
} else {
diff --git a/tsconfig.json b/tsconfig.json
index fdf7649f..07a4c65b 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -10,37 +10,16 @@
"resolveJsonModule": true,
"esModuleInterop": true,
"skipLibCheck": true,
- "lib": [
- "es6",
- "ESNext",
- "dom"
- ],
- "types": [
- "vite/client"
- ],
+ "lib": ["es6", "ESNext", "dom"],
+ "types": ["vite/client"],
"paths": {
- "@/*": [
- "src/*"
- ],
- "/#/*": [
- "types/*"
- ]
+ "@/*": ["src/*"],
+ "/#/*": ["types/*"]
},
"noImplicitAny": true, //不允许使用any
// "strictNullChecks": true, //不允许使用null
"noImplicitThis": true //不允许往this上面挂属性
},
- "include": [
- "src/**/*.ts",
- "src/**/*.d.ts",
- "src/**/*.tsx",
- "src/**/*.vue",
- "types/**/*.d.ts",
- "types/**/*.ts",
- ],
- "exclude": [
- "node_modules",
- "dist",
- "**/*.js"
- ]
-}
\ No newline at end of file
+ "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue", "types/**/*"],
+ "exclude": ["node_modules", "dist", "**/*.js"]
+}