diff --git a/.vscode/settings.json b/.vscode/settings.json index 5b3aa477e0472e6a8e4518e1552bb3e5850f9d98..3036ebf1c5644a13b8be9bc0636a42e0e7308e73 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -8,7 +8,7 @@ "source.fixAll.eslint": true }, "[vue]": { - "editor.defaultFormatter": "Vue.volar" + "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[javascript]": { "editor.defaultFormatter": "esbenp.prettier-vscode" diff --git a/README.md b/README.md index 4a0de6ae53b2342296890bbd7ddb55e5c5e4ea4d..f5619e8bc4a71d1c00e86e3dd61aea0127dc4841 100644 --- a/README.md +++ b/README.md @@ -38,14 +38,14 @@ | 框架 | 说明 | 版本 | |----------------------------------------------------------------------|------------------|--------| -| [Vue](https://staging-cn.vuejs.org/) | Vue 框架 | 3.3.4 | -| [Vite](https://cn.vitejs.dev//) | 开发与构建工具 | 4.3.8 | -| [Element Plus](https://element-plus.org/zh-CN/) | Element Plus | 2.3.4 | +| [Vue](https://staging-cn.vuejs.org/) | Vue 框架 | 3.2.47 | +| [Vite](https://cn.vitejs.dev//) | 开发与构建工具 | 4.3.1 | +| [Element Plus](https://element-plus.org/zh-CN/) | Element Plus | 2.3.3 | | [TypeScript](https://www.typescriptlang.org/docs/) | JavaScript 的超集 | 5.0.4 | -| [pinia](https://pinia.vuejs.org/) | Vue 存储库 替代 vuex5 | 2.1.3 | -| [vueuse](https://vueuse.org/) | 常用工具集 | 10.1.2 | +| [pinia](https://pinia.vuejs.org/) | Vue 存储库 替代 vuex5 | 2.0.35 | +| [vueuse](https://vueuse.org/) | 常用工具集 | 10.1.0 | | [vue-i18n](https://kazupon.github.io/vue-i18n/zh/introduction.html/) | 国际化 | 9.2.2 | -| [vue-router](https://router.vuejs.org/) | Vue 路由 | 4.2.1 | +| [vue-router](https://router.vuejs.org/) | Vue 路由 | 4.1.6 | | [windicss](https://cn.windicss.org/) | 下一代工具优先的 CSS 框架 | 3.5.6 | | [iconify](https://icon-sets.iconify.design/) | 在线图标库 | 3.1.0 | | [wangeditor](https://www.wangeditor.com/) | 富文本编辑器 | 5.1.23 | diff --git a/build/vite/optimize.ts b/build/vite/optimize.ts index 70fc3b8f6cb4872eaa50925560551513397107ca..9d5761912f791b6729532f593acadd966b040200 100644 --- a/build/vite/optimize.ts +++ b/build/vite/optimize.ts @@ -102,8 +102,7 @@ const include = [ 'element-plus/es/components/timeline-item/style/css', 'element-plus/es/components/collapse/style/css', 'element-plus/es/components/collapse-item/style/css', - 'element-plus/es/components/button-group/style/css', - 'element-plus/es/components/text/style/css' + 'element-plus/es/components/button-group/style/css' ] const exclude = ['@iconify/json'] diff --git a/package.json b/package.json index 74f7959fc69487514efae7baed9dbb85f418fded..2f1b2de22c2fa5de77c32b3178d41040dc2f54a8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "yudao-ui-admin-vue3", - "version": "1.7.3-snapshot", + "version": "1.7.2-snapshot", "description": "基于vue3、vite4、element-plus、typesScript", "author": "xingyu", "private": false, @@ -18,7 +18,6 @@ "serve:pro": "vite preview --mode pro", "serve:dev": "vite preview --mode dev", "serve:test": "vite preview --mode test", - "preview": "pnpm build && vite preview", "npm:check": "npx npm-check-updates", "clean": "npx rimraf node_modules", "clean:cache": "npx rimraf node_modules/.cache", @@ -34,12 +33,12 @@ "@form-create/element-ui": "^3.1.17", "@iconify/iconify": "^3.1.0", "@videojs-player/vue": "^1.0.0", - "@vueuse/core": "^10.1.2", + "@vueuse/core": "^10.1.0", "@wangeditor/editor": "^5.1.23", "@wangeditor/editor-for-vue": "^5.1.10", - "@zxcvbn-ts/core": "^3.0.1", + "@zxcvbn-ts/core": "^2.2.1", "animate.css": "^4.1.1", - "axios": "^1.4.0", + "axios": "^1.3.6", "benz-amr-recorder": "^1.1.5", "bpmn-js-token-simulation": "^0.10.0", "camunda-bpmn-moddle": "^7.0.1", @@ -49,34 +48,34 @@ "diagram-js": "^11.6.0", "echarts": "^5.4.2", "echarts-wordcloud": "^2.1.0", - "element-plus": "2.3.4", + "element-plus": "2.3.3", "fast-xml-parser": "^4.2.2", - "highlight.js": "^11.8.0", + "highlight.js": "^11.7.0", "intro.js": "^7.0.1", "jsencrypt": "^3.3.2", "lodash-es": "^4.17.21", - "min-dash": "^4.1.1", + "min-dash": "^4.1.0", "mitt": "^3.0.0", "nprogress": "^0.2.0", - "pinia": "^2.1.3", + "pinia": "^2.0.35", "qrcode": "^1.5.3", - "qs": "^6.11.2", + "qs": "^6.11.1", "steady-xml": "^0.1.0", "url": "^0.11.0", - "video.js": "^8.3.0", - "vue": "3.3.4", + "video.js": "^8.0.4", + "vue": "3.2.47", "vue-i18n": "9.2.2", - "vue-router": "^4.2.1", - "vue-types": "^5.0.3", + "vue-router": "^4.1.6", + "vue-types": "^5.0.2", "vuedraggable": "^4.1.0", "web-storage-cache": "^1.1.1", "xe-utils": "^3.5.7", "xml-js": "^1.6.11" }, "devDependencies": { - "@commitlint/cli": "^17.6.3", - "@commitlint/config-conventional": "^17.6.3", - "@iconify/json": "^2.2.67", + "@commitlint/cli": "^17.6.1", + "@commitlint/config-conventional": "^17.6.1", + "@iconify/json": "^2.2.54", "@intlify/unplugin-vue-i18n": "^0.10.0", "@purge-icons/generated": "^0.9.0", "@types/intro.js": "^5.1.1", @@ -85,39 +84,39 @@ "@types/nprogress": "^0.2.0", "@types/qrcode": "^1.5.0", "@types/qs": "^6.9.7", - "@typescript-eslint/eslint-plugin": "^5.59.6", - "@typescript-eslint/parser": "^5.59.6", - "@vitejs/plugin-legacy": "^4.0.3", - "@vitejs/plugin-vue": "^4.2.3", + "@typescript-eslint/eslint-plugin": "^5.59.0", + "@typescript-eslint/parser": "^5.59.0", + "@vitejs/plugin-legacy": "^4.0.2", + "@vitejs/plugin-vue": "^4.1.0", "@vitejs/plugin-vue-jsx": "^3.0.1", "autoprefixer": "^10.4.14", "bpmn-js": "^8.9.0", "bpmn-js-properties-panel": "^0.46.0", "consola": "^3.1.0", - "eslint": "^8.40.0", + "eslint": "^8.39.0", "eslint-config-prettier": "^8.8.0", - "eslint-define-config": "^1.20.0", + "eslint-define-config": "^1.18.0", "eslint-plugin-prettier": "^4.2.1", - "eslint-plugin-vue": "^9.13.0", - "lint-staged": "^13.2.2", + "eslint-plugin-vue": "^9.11.0", + "lint-staged": "^13.2.1", "postcss": "^8.4.23", "postcss-html": "^1.5.0", "postcss-scss": "^4.0.6", "prettier": "^2.8.8", - "rimraf": "^5.0.1", - "rollup": "^3.22.0", - "sass": "^1.62.1", - "stylelint": "^15.6.2", + "rimraf": "^5.0.0", + "rollup": "^3.20.7", + "sass": "^1.62.0", + "stylelint": "^15.6.0", "stylelint-config-html": "^1.1.0", "stylelint-config-recommended": "^12.0.0", "stylelint-config-standard": "^33.0.0", "stylelint-order": "^6.0.3", - "terser": "^5.17.4", + "terser": "^5.17.1", "typescript": "5.0.4", - "unplugin-auto-import": "^0.16.0", + "unplugin-auto-import": "^0.15.3", "unplugin-element-plus": "^0.7.1", "unplugin-vue-components": "^0.24.1", - "vite": "4.3.8", + "vite": "4.3.1", "vite-plugin-compression": "^0.5.1", "vite-plugin-ejs": "^1.6.4", "vite-plugin-eslint": "^1.8.1", @@ -126,8 +125,8 @@ "vite-plugin-svg-icons": "^2.0.1", "vite-plugin-top-level-await": "^1.3.0", "vite-plugin-vue-setup-extend-plus": "^0.1.0", - "vite-plugin-windicss": "^1.9.0", - "vue-tsc": "^1.6.5", + "vite-plugin-windicss": "^1.8.10", + "vue-tsc": "^1.4.4", "windicss": "^3.5.6" }, "engines": { @@ -136,7 +135,7 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://gitee.com/yudaocode/yudao-ui-admin-vue3" + "url": "git+https://gitee.com/shen_tianyi/nuliyaWeb.git" }, "bugs": { "url": "https://gitee.com/yudaocode/yudao-ui-admin-vue3/issues" diff --git a/src/App.vue b/src/App.vue index f75478cd6541bb5522165d4a786d714769fcdda7..75edd24f358d4ebb732d258224c9cb165b78b9b7 100644 --- a/src/App.vue +++ b/src/App.vue @@ -3,7 +3,6 @@ import { isDark } from '@/utils/is' import { useAppStore } from '@/store/modules/app' import { useDesign } from '@/hooks/web/useDesign' import { CACHE_KEY, useCache } from '@/hooks/web/useCache' -import routerSearch from '@/components/RouterSearch/index.vue' const { getPrefixCls } = useDesign() const prefixCls = getPrefixCls('app') @@ -25,12 +24,10 @@ setDefaultTheme() diff --git a/src/views/mall/trade/delivery/expressTemplate/ExpressTemplateForm.vue b/src/views/mall/trade/delivery/expressTemplate/ExpressTemplateForm.vue deleted file mode 100644 index 5b25422d470258aa57f6f146e704ac1f27a7d96e..0000000000000000000000000000000000000000 --- a/src/views/mall/trade/delivery/expressTemplate/ExpressTemplateForm.vue +++ /dev/null @@ -1,405 +0,0 @@ - - diff --git a/src/views/mp/autoReply/components/ReplyForm.vue b/src/views/mp/autoReply/components/ReplyForm.vue deleted file mode 100644 index edcbc696b77ddabdf81fe3ae41cc3fea85d1fc77..0000000000000000000000000000000000000000 --- a/src/views/mp/autoReply/components/ReplyForm.vue +++ /dev/null @@ -1,78 +0,0 @@ - - - - - diff --git a/src/views/mp/autoReply/index.vue b/src/views/mp/autoReply/index.vue index b3826de5039707de9b73ace56ff8781664357820..20a1e683d40de62100b1900a7c5d629b5c99165c 100644 --- a/src/views/mp/autoReply/index.vue +++ b/src/views/mp/autoReply/index.vue @@ -53,13 +53,38 @@ @on-delete="onDelete" /> - - + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/mp/components/wx-account-select/main.vue b/src/views/mp/components/wx-account-select/main.vue index e25016572b0260367b15d1b30ac9df14888f2aed..8dbad499ac96758bda6ee7d65ed6615bda63a3fe 100644 --- a/src/views/mp/components/wx-account-select/main.vue +++ b/src/views/mp/components/wx-account-select/main.vue @@ -8,14 +8,13 @@ import * as MpAccountApi from '@/api/mp/account' const account: MpAccountApi.AccountVO = reactive({ - id: -1, + id: undefined, name: '' }) - -const accountList = ref([]) +const accountList: Ref = ref([]) const emit = defineEmits<{ - (e: 'change', id: number, name: string) + (e: 'change', id: number, name: string): void }>() const handleQuery = async () => { diff --git a/src/views/mp/components/wx-msg/components/Msg.vue b/src/views/mp/components/wx-msg/components/Msg.vue deleted file mode 100644 index eff834c99079670dcc43ab43e04ad134162821fd..0000000000000000000000000000000000000000 --- a/src/views/mp/components/wx-msg/components/Msg.vue +++ /dev/null @@ -1,67 +0,0 @@ - - - - - diff --git a/src/views/mp/components/wx-msg/components/MsgEvent.vue b/src/views/mp/components/wx-msg/components/MsgEvent.vue deleted file mode 100644 index d23c9366e4b6d9673ac3a40af1f3db22b7adf4a0..0000000000000000000000000000000000000000 --- a/src/views/mp/components/wx-msg/components/MsgEvent.vue +++ /dev/null @@ -1,49 +0,0 @@ - - - diff --git a/src/views/mp/components/wx-msg/components/MsgList.vue b/src/views/mp/components/wx-msg/components/MsgList.vue deleted file mode 100644 index f759adda663c8ccfdd64ae817f089311e5dfec17..0000000000000000000000000000000000000000 --- a/src/views/mp/components/wx-msg/components/MsgList.vue +++ /dev/null @@ -1,60 +0,0 @@ - - - - diff --git a/src/views/mp/components/wx-msg/main.vue b/src/views/mp/components/wx-msg/main.vue index 1eeab64a7a5f68446e73d5d772a469bb0fef0fe8..19763245c5ed9f323982fb635dd2a1aeba7df3d7 100644 --- a/src/views/mp/components/wx-msg/main.vue +++ b/src/views/mp/components/wx-msg/main.vue @@ -7,22 +7,123 @@ --> diff --git a/src/views/mp/draft/components/CoverSelect.vue b/src/views/mp/draft/components/CoverSelect.vue index bbb2b44c5ccdc499223d889e5a09d412bed97738..944b7d968cab731bd9134c23a038554ec2d09700 100644 --- a/src/views/mp/draft/components/CoverSelect.vue +++ b/src/views/mp/draft/components/CoverSelect.vue @@ -51,7 +51,7 @@ > @@ -93,11 +93,11 @@ const showImageDialog = ref(false) const fileList = ref([]) interface UploadData { type: UploadType - accountId: number + accountId: number | undefined } const uploadData: UploadData = reactive({ type: UploadType.Image, - accountId: accountId! + accountId: accountId }) /** 素材选择完成事件*/ diff --git a/src/views/mp/draft/components/NewsForm.vue b/src/views/mp/draft/components/NewsForm.vue index 97166a4b149b9c942b5745198033bf350e36ba36..a2b88a5b3ef65dfc51173fd075282696c3384681 100644 --- a/src/views/mp/draft/components/NewsForm.vue +++ b/src/views/mp/draft/components/NewsForm.vue @@ -125,7 +125,7 @@ -