Commit 0df47f1b42d154f2b649e301340c5cfb74d5cd29
1 parent
15a408e1
chore: update package
Showing
2 changed files
with
7 additions
and
14 deletions
yudao-ui-admin-vue3/package.json
| @@ -50,18 +50,18 @@ | @@ -50,18 +50,18 @@ | ||
| 50 | "vue-cropper": "^1.0.3", | 50 | "vue-cropper": "^1.0.3", |
| 51 | "vue-i18n": "9.1.10", | 51 | "vue-i18n": "9.1.10", |
| 52 | "vue-router": "^4.1.2", | 52 | "vue-router": "^4.1.2", |
| 53 | - "vue-types": "^4.1.1", | 53 | + "vue-types": "^4.2.0", |
| 54 | "web-storage-cache": "^1.1.1" | 54 | "web-storage-cache": "^1.1.1" |
| 55 | }, | 55 | }, |
| 56 | "devDependencies": { | 56 | "devDependencies": { |
| 57 | "@commitlint/cli": "^17.0.3", | 57 | "@commitlint/cli": "^17.0.3", |
| 58 | "@commitlint/config-conventional": "^17.0.3", | 58 | "@commitlint/config-conventional": "^17.0.3", |
| 59 | - "@iconify/json": "^2.1.80", | ||
| 60 | - "@intlify/vite-plugin-vue-i18n": "^5.0.0", | 59 | + "@iconify/json": "^2.1.81", |
| 60 | + "@intlify/vite-plugin-vue-i18n": "^5.0.1", | ||
| 61 | "@purge-icons/generated": "^0.8.1", | 61 | "@purge-icons/generated": "^0.8.1", |
| 62 | "@types/intro.js": "^5.1.0", | 62 | "@types/intro.js": "^5.1.0", |
| 63 | "@types/lodash-es": "^4.17.6", | 63 | "@types/lodash-es": "^4.17.6", |
| 64 | - "@types/node": "^18.0.6", | 64 | + "@types/node": "^18.6.0", |
| 65 | "@types/nprogress": "^0.2.0", | 65 | "@types/nprogress": "^0.2.0", |
| 66 | "@types/qrcode": "^1.4.2", | 66 | "@types/qrcode": "^1.4.2", |
| 67 | "@types/qs": "^6.9.7", | 67 | "@types/qs": "^6.9.7", |
| @@ -96,11 +96,11 @@ | @@ -96,11 +96,11 @@ | ||
| 96 | "vite-plugin-compression": "^0.5.1", | 96 | "vite-plugin-compression": "^0.5.1", |
| 97 | "vite-plugin-eslint": "^1.7.0", | 97 | "vite-plugin-eslint": "^1.7.0", |
| 98 | "vite-plugin-html": "^3.2.0", | 98 | "vite-plugin-html": "^3.2.0", |
| 99 | - "vite-plugin-purge-icons": "^0.8.1", | 99 | + "vite-plugin-purge-icons": "^0.8.2", |
| 100 | "vite-plugin-style-import": "^1.4.1", | 100 | "vite-plugin-style-import": "^1.4.1", |
| 101 | "vite-plugin-svg-icons": "^2.0.1", | 101 | "vite-plugin-svg-icons": "^2.0.1", |
| 102 | "vite-plugin-windicss": "^1.8.7", | 102 | "vite-plugin-windicss": "^1.8.7", |
| 103 | - "vue-tsc": "^0.38.9", | 103 | + "vue-tsc": "^0.39.0", |
| 104 | "windicss": "^3.5.6", | 104 | "windicss": "^3.5.6", |
| 105 | "windicss-analysis": "^0.3.5" | 105 | "windicss-analysis": "^0.3.5" |
| 106 | }, | 106 | }, |
yudao-ui-admin-vue3/src/views/Profile/components/UserAvatar.vue
| @@ -30,8 +30,6 @@ const editCropper = () => { | @@ -30,8 +30,6 @@ const editCropper = () => { | ||
| 30 | state.dialogVisible = true | 30 | state.dialogVisible = true |
| 31 | state.cropperVisible = true | 31 | state.cropperVisible = true |
| 32 | } | 32 | } |
| 33 | -/** 覆盖默认上传行为 */ | ||
| 34 | -const requestUpload = () => {} | ||
| 35 | /** 向左旋转 */ | 33 | /** 向左旋转 */ |
| 36 | const rotateLeft = () => { | 34 | const rotateLeft = () => { |
| 37 | cropper.value.rotateLeft() | 35 | cropper.value.rotateLeft() |
| @@ -121,12 +119,7 @@ watch( | @@ -121,12 +119,7 @@ watch( | ||
| 121 | <template #footer> | 119 | <template #footer> |
| 122 | <el-row> | 120 | <el-row> |
| 123 | <el-col :lg="2" :md="2"> | 121 | <el-col :lg="2" :md="2"> |
| 124 | - <el-upload | ||
| 125 | - action="#" | ||
| 126 | - :http-request="requestUpload" | ||
| 127 | - :show-file-list="false" | ||
| 128 | - :before-upload="beforeUpload" | ||
| 129 | - > | 122 | + <el-upload action="#" :show-file-list="false" :before-upload="beforeUpload"> |
| 130 | <el-button size="small"> | 123 | <el-button size="small"> |
| 131 | <Icon icon="ep:upload-filled" class="mr-5px" /> | 124 | <Icon icon="ep:upload-filled" class="mr-5px" /> |
| 132 | 选择 | 125 | 选择 |