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 | 50 | "vue-cropper": "^1.0.3", |
| 51 | 51 | "vue-i18n": "9.1.10", |
| 52 | 52 | "vue-router": "^4.1.2", |
| 53 | - "vue-types": "^4.1.1", | |
| 53 | + "vue-types": "^4.2.0", | |
| 54 | 54 | "web-storage-cache": "^1.1.1" |
| 55 | 55 | }, |
| 56 | 56 | "devDependencies": { |
| 57 | 57 | "@commitlint/cli": "^17.0.3", |
| 58 | 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 | 61 | "@purge-icons/generated": "^0.8.1", |
| 62 | 62 | "@types/intro.js": "^5.1.0", |
| 63 | 63 | "@types/lodash-es": "^4.17.6", |
| 64 | - "@types/node": "^18.0.6", | |
| 64 | + "@types/node": "^18.6.0", | |
| 65 | 65 | "@types/nprogress": "^0.2.0", |
| 66 | 66 | "@types/qrcode": "^1.4.2", |
| 67 | 67 | "@types/qs": "^6.9.7", |
| ... | ... | @@ -96,11 +96,11 @@ |
| 96 | 96 | "vite-plugin-compression": "^0.5.1", |
| 97 | 97 | "vite-plugin-eslint": "^1.7.0", |
| 98 | 98 | "vite-plugin-html": "^3.2.0", |
| 99 | - "vite-plugin-purge-icons": "^0.8.1", | |
| 99 | + "vite-plugin-purge-icons": "^0.8.2", | |
| 100 | 100 | "vite-plugin-style-import": "^1.4.1", |
| 101 | 101 | "vite-plugin-svg-icons": "^2.0.1", |
| 102 | 102 | "vite-plugin-windicss": "^1.8.7", |
| 103 | - "vue-tsc": "^0.38.9", | |
| 103 | + "vue-tsc": "^0.39.0", | |
| 104 | 104 | "windicss": "^3.5.6", |
| 105 | 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 | 30 | state.dialogVisible = true |
| 31 | 31 | state.cropperVisible = true |
| 32 | 32 | } |
| 33 | -/** 覆盖默认上传行为 */ | |
| 34 | -const requestUpload = () => {} | |
| 35 | 33 | /** 向左旋转 */ |
| 36 | 34 | const rotateLeft = () => { |
| 37 | 35 | cropper.value.rotateLeft() |
| ... | ... | @@ -121,12 +119,7 @@ watch( |
| 121 | 119 | <template #footer> |
| 122 | 120 | <el-row> |
| 123 | 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 | 123 | <el-button size="small"> |
| 131 | 124 | <Icon icon="ep:upload-filled" class="mr-5px" /> |
| 132 | 125 | 选择 | ... | ... |