chore: 回复与线上dev文件同步

This commit is contained in:
tnt group 2022-09-06 15:01:44 +08:00
parent 0193431c6d
commit 87d5c9ffb7
3 changed files with 4 additions and 6 deletions

View File

@ -6,9 +6,7 @@
"build": "vue-tsc --noEmit && vite build", "build": "vue-tsc --noEmit && vite build",
"preview": "vite preview", "preview": "vite preview",
"new": "plop --plopfile ./plop/plopfile.js", "new": "plop --plopfile ./plop/plopfile.js",
"postinstall": "husky install", "postinstall": "husky install"
"lint": "eslint --ext .vue,.js,.jsx,.ts,.tsx ./ --max-warnings 0",
"lint:fix": "eslint --ext .vue,.js,jsx,.ts,.tsx ./ --fix"
}, },
"dependencies": { "dependencies": {
"@types/color": "^3.0.3", "@types/color": "^3.0.3",
@ -71,4 +69,4 @@
"vue-echarts": "^6.0.2", "vue-echarts": "^6.0.2",
"vue-tsc": "^0.28.10" "vue-tsc": "^0.28.10"
} }
} }

View File

@ -600,7 +600,7 @@ export const useChartEditStore = defineStore({
ids.push(item.id) ids.push(item.id)
}) })
} else { } else {
(historyData[0] as CreateComponentGroupType).groupList.forEach(item => { ;(historyData[0] as CreateComponentGroupType).groupList.forEach(item => {
ids.push(item.id) ids.push(item.id)
}) })
} }

View File

@ -35,7 +35,7 @@ export const useSync = () => {
} }
if (e.isGroup) { if (e.isGroup) {
(e as CreateComponentGroupType).groupList.forEach(groupItem => { ;(e as CreateComponentGroupType).groupList.forEach(groupItem => {
intComponent(groupItem) intComponent(groupItem)
}) })
} else { } else {