diff --git a/ruoyi-ui/src/components/ImageUpload/index.vue b/ruoyi-ui/src/components/ImageUpload/index.vue index 67fa99c8..ce540eb8 100644 --- a/ruoyi-ui/src/components/ImageUpload/index.vue +++ b/ruoyi-ui/src/components/ImageUpload/index.vue @@ -17,9 +17,12 @@
- +
+ + + @@ -27,6 +30,9 @@
+ + +
@@ -36,6 +42,7 @@ import { getToken } from "@/utils/auth"; export default { data() { return { + dialogVisible: false, uploadImgUrl: process.env.VUE_APP_BASE_API + "/common/upload", // 上传的图片服务器地址 headers: { Authorization: "Bearer " + getToken(), @@ -76,10 +83,6 @@ export default {