From ed3170e83756a81a5844be068a6dba4cff732ffb Mon Sep 17 00:00:00 2001 From: xingyu4j Date: Thu, 17 Nov 2022 17:11:41 +0800 Subject: [PATCH] Revert "perf: add aotu components" This reverts commit 3e1ce8b76aeb53f336c3977bbf67f59a44f983ef. --- yudao-ui-admin-vue3/package.json | 3 +- yudao-ui-admin-vue3/pnpm-lock.yaml | 43 ---------- yudao-ui-admin-vue3/src/auto-components.d.ts | 83 ------------------- .../src/views/system/dept/index.vue | 3 +- .../src/views/system/dict/index.vue | 2 + .../src/views/system/menu/index.vue | 15 +++- .../src/views/system/role/index.vue | 20 +++-- .../src/views/system/sensitiveWord/index.vue | 8 +- .../views/system/sms/smsTemplate/index.vue | 1 + .../src/views/system/tenant/index.vue | 8 +- .../src/views/system/tenantPackage/index.vue | 9 +- .../src/views/system/user/index.vue | 18 +++- yudao-ui-admin-vue3/tsconfig.json | 2 +- yudao-ui-admin-vue3/vite.config.ts | 16 ---- 14 files changed, 61 insertions(+), 170 deletions(-) delete mode 100644 yudao-ui-admin-vue3/src/auto-components.d.ts diff --git a/yudao-ui-admin-vue3/package.json b/yudao-ui-admin-vue3/package.json index 9b6711d2c..0ff954347 100644 --- a/yudao-ui-admin-vue3/package.json +++ b/yudao-ui-admin-vue3/package.json @@ -38,8 +38,8 @@ "echarts-wordcloud": "^2.0.0", "element-plus": "2.2.21", "intro.js": "^6.0.0", - "js-cookie": "^3.0.1", "jsencrypt": "^3.3.1", + "js-cookie": "^3.0.1", "lodash-es": "^4.17.21", "mitt": "^3.0.0", "nprogress": "^0.2.0", @@ -94,7 +94,6 @@ "stylelint-config-standard": "^29.0.0", "stylelint-order": "^5.0.0", "typescript": "4.8.4", - "unplugin-vue-components": "^0.22.9", "unplugin-vue-macros": "^0.16.3", "vite": "3.2.4", "vite-plugin-compression": "^0.5.1", diff --git a/yudao-ui-admin-vue3/pnpm-lock.yaml b/yudao-ui-admin-vue3/pnpm-lock.yaml index 48590bd36..5f86e4bd7 100644 --- a/yudao-ui-admin-vue3/pnpm-lock.yaml +++ b/yudao-ui-admin-vue3/pnpm-lock.yaml @@ -59,7 +59,6 @@ specifiers: stylelint-config-standard: ^29.0.0 stylelint-order: ^5.0.0 typescript: 4.8.4 - unplugin-vue-components: ^0.22.9 unplugin-vue-macros: ^0.16.3 url: ^0.11.0 vite: 3.2.4 @@ -151,7 +150,6 @@ devDependencies: stylelint-config-standard: 29.0.0_stylelint@14.15.0 stylelint-order: 5.0.0_stylelint@14.15.0 typescript: 4.8.4 - unplugin-vue-components: 0.22.9_rollup@3.3.0+vue@3.2.45 unplugin-vue-macros: 0.16.3_drqowttw7xgwfzqyhu6wuedde4 vite: 3.2.4_mp5lu76ee5qtwstsyca37sdhqi vite-plugin-compression: 0.5.1_vite@3.2.4 @@ -965,21 +963,6 @@ packages: picomatch: 2.3.1 dev: true - /@rollup/pluginutils/5.0.2_rollup@3.3.0: - resolution: {integrity: sha512-pTd9rIsP92h+B6wWwFbW8RkZv4hiR/xKsqre4SIuAOaOEQRxi0lqLke9k2/7WegC85GgUs9pjmOjCUi3In4vwA==} - engines: {node: '>=14.0.0'} - peerDependencies: - rollup: ^1.20.0||^2.0.0||^3.0.0 - peerDependenciesMeta: - rollup: - optional: true - dependencies: - '@types/estree': 1.0.0 - estree-walker: 2.0.2 - picomatch: 2.3.1 - rollup: 3.3.0 - dev: true - /@sxzz/popperjs-es/2.11.7: resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==} dev: false @@ -6846,32 +6829,6 @@ packages: vite: 3.2.4_mp5lu76ee5qtwstsyca37sdhqi dev: true - /unplugin-vue-components/0.22.9_rollup@3.3.0+vue@3.2.45: - resolution: {integrity: sha512-qBvooq3EgpjtYicxeccRUGUBBQCCw9rJ0kHPZPOSJd8TBZViSv86vuKLTRDHPyjWtclwOIkVStZJfPdJFhYUMw==} - engines: {node: '>=14'} - peerDependencies: - '@babel/parser': ^7.15.8 - vue: 2 || 3 - peerDependenciesMeta: - '@babel/parser': - optional: true - dependencies: - '@antfu/utils': 0.6.0 - '@rollup/pluginutils': 5.0.2_rollup@3.3.0 - chokidar: 3.5.3 - debug: 4.3.4 - fast-glob: 3.2.12 - local-pkg: 0.4.2 - magic-string: 0.26.7 - minimatch: 5.1.0 - resolve: 1.22.1 - unplugin: 0.10.2 - vue: 3.2.45 - transitivePeerDependencies: - - rollup - - supports-color - dev: true - /unplugin-vue-define-options/0.12.7: resolution: {integrity: sha512-relFORVPLDs4dd3ogEti5YyAqQ62XEieRgLu/OrDIRZdSZQ942pydf9ilfLFiFwCUt+EES/2Xl4EERtgP1T/og==} engines: {node: '>=14.19.0'} diff --git a/yudao-ui-admin-vue3/src/auto-components.d.ts b/yudao-ui-admin-vue3/src/auto-components.d.ts deleted file mode 100644 index 455d7f853..000000000 --- a/yudao-ui-admin-vue3/src/auto-components.d.ts +++ /dev/null @@ -1,83 +0,0 @@ -// generated by unplugin-vue-components -// We suggest you to commit this file into source control -// Read more: https://github.com/vuejs/core/pull/3399 -import '@vue/runtime-core' - -export {} - -declare module '@vue/runtime-core' { - export interface GlobalComponents { - Backtop: typeof import('./components/Backtop/src/Backtop.vue')['default'] - Breadcrumb: typeof import('./components/Breadcrumb/src/Breadcrumb.vue')['default'] - Collapse: typeof import('./components/Collapse/src/Collapse.vue')['default'] - ColorRadioPicker: typeof import('./components/Setting/src/components/ColorRadioPicker.vue')['default'] - ConfigGlobal: typeof import('./components/ConfigGlobal/src/ConfigGlobal.vue')['default'] - ContentDetailWrap: typeof import('./components/ContentDetailWrap/src/ContentDetailWrap.vue')['default'] - ContentWrap: typeof import('./components/ContentWrap/src/ContentWrap.vue')['default'] - ContextMenu: typeof import('./components/ContextMenu/src/ContextMenu.vue')['default'] - CountTo: typeof import('./components/CountTo/src/CountTo.vue')['default'] - Crontab: typeof import('./components/Crontab/src/Crontab.vue')['default'] - Descriptions: typeof import('./components/Descriptions/src/Descriptions.vue')['default'] - Dialog: typeof import('./components/Dialog/src/Dialog.vue')['default'] - DictTag: typeof import('./components/DictTag/src/DictTag.vue')['default'] - Echart: typeof import('./components/Echart/src/Echart.vue')['default'] - Editor: typeof import('./components/Editor/src/Editor.vue')['default'] - ElButton: typeof import('element-plus/es')['ElButton'] - ElCard: typeof import('element-plus/es')['ElCard'] - ElCheckbox: typeof import('element-plus/es')['ElCheckbox'] - ElCol: typeof import('element-plus/es')['ElCol'] - ElForm: typeof import('element-plus/es')['ElForm'] - ElFormItem: typeof import('element-plus/es')['ElFormItem'] - ElInput: typeof import('element-plus/es')['ElInput'] - ElInputNumber: typeof import('element-plus/es')['ElInputNumber'] - ElOption: typeof import('element-plus/es')['ElOption'] - ElRadioButton: typeof import('element-plus/es')['ElRadioButton'] - ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup'] - ElRow: typeof import('element-plus/es')['ElRow'] - ElSelect: typeof import('element-plus/es')['ElSelect'] - ElSwitch: typeof import('element-plus/es')['ElSwitch'] - ElTag: typeof import('element-plus/es')['ElTag'] - ElTransfer: typeof import('element-plus/es')['ElTransfer'] - ElTree: typeof import('element-plus/es')['ElTree'] - ElTreeSelect: typeof import('element-plus/es')['ElTreeSelect'] - ElUpload: typeof import('element-plus/es')['ElUpload'] - Error: typeof import('./components/Error/src/Error.vue')['default'] - Footer: typeof import('./components/Footer/src/Footer.vue')['default'] - Form: typeof import('./components/Form/src/Form.vue')['default'] - Highlight: typeof import('./components/Highlight/src/Highlight.vue')['default'] - Icon: typeof import('./components/Icon/src/Icon.vue')['default'] - IconSelect: typeof import('./components/Icon/src/IconSelect.vue')['default'] - IFrame: typeof import('./components/IFrame/src/IFrame.vue')['default'] - ImageViewer: typeof import('./components/ImageViewer/src/ImageViewer.vue')['default'] - Infotip: typeof import('./components/Infotip/src/Infotip.vue')['default'] - InputPassword: typeof import('./components/InputPassword/src/InputPassword.vue')['default'] - InterfaceDisplay: typeof import('./components/Setting/src/components/InterfaceDisplay.vue')['default'] - LayoutRadioPicker: typeof import('./components/Setting/src/components/LayoutRadioPicker.vue')['default'] - LocaleDropdown: typeof import('./components/LocaleDropdown/src/LocaleDropdown.vue')['default'] - Logo: typeof import('./components/Logo/src/Logo.vue')['default'] - Menu: typeof import('./components/Menu/src/Menu.vue')['default'] - Qrcode: typeof import('./components/Qrcode/src/Qrcode.vue')['default'] - RouterLink: typeof import('vue-router')['RouterLink'] - RouterView: typeof import('vue-router')['RouterView'] - Screenfull: typeof import('./components/Screenfull/src/Screenfull.vue')['default'] - Search: typeof import('./components/Search/src/Search.vue')['default'] - Setting: typeof import('./components/Setting/src/Setting.vue')['default'] - SizeDropdown: typeof import('./components/SizeDropdown/src/SizeDropdown.vue')['default'] - Sticky: typeof import('./components/Sticky/src/Sticky.vue')['default'] - Table: typeof import('./components/Table/src/Table.vue')['default'] - TabMenu: typeof import('./components/TabMenu/src/TabMenu.vue')['default'] - TagsView: typeof import('./components/TagsView/src/TagsView.vue')['default'] - ThemeSwitch: typeof import('./components/ThemeSwitch/src/ThemeSwitch.vue')['default'] - Tooltip: typeof import('./components/Tooltip/src/Tooltip.vue')['default'] - UserInfo: typeof import('./components/UserInfo/src/UserInfo.vue')['default'] - Verify: typeof import('./components/Verifition/src/Verify.vue')['default'] - VerifyPoints: typeof import('./components/Verifition/src/Verify/VerifyPoints.vue')['default'] - VerifySlide: typeof import('./components/Verifition/src/Verify/VerifySlide.vue')['default'] - XButton: typeof import('./components/XButton/src/XButton.vue')['default'] - XModal: typeof import('./components/XModal/src/XModal.vue')['default'] - XTextButton: typeof import('./components/XButton/src/XTextButton.vue')['default'] - } - export interface ComponentCustomProperties { - vLoading: typeof import('element-plus/es')['ElLoadingDirective'] - } -} diff --git a/yudao-ui-admin-vue3/src/views/system/dept/index.vue b/yudao-ui-admin-vue3/src/views/system/dept/index.vue index a69d65447..f50d338f1 100644 --- a/yudao-ui-admin-vue3/src/views/system/dept/index.vue +++ b/yudao-ui-admin-vue3/src/views/system/dept/index.vue @@ -103,10 +103,11 @@