|
@@ -3,7 +3,7 @@
|
|
|
* @Author: Sugar.
|
|
|
* @Date: 2023-11-24 13:55:00
|
|
|
* @LastEditors: gcz
|
|
|
- * @LastEditTime: 2024-03-20 14:47:26
|
|
|
+ * @LastEditTime: 2024-03-25 16:21:13
|
|
|
* @FilePath: \tourism_admin_ui\src\views\information\informationMr\dialog\addAndEdit.vue
|
|
|
* @Copyright: Copyright (c) 2016~2023 by Sugar., All Rights Reserved.
|
|
|
-->
|
|
@@ -56,6 +56,7 @@
|
|
|
:headers="uploadObj.headers"
|
|
|
:show-file-list="false"
|
|
|
accept=".jpg,.png"
|
|
|
+ :data="{bucket:'tourism'}"
|
|
|
:on-success="handleAvatarSuccess"
|
|
|
:before-upload="beforeAvatarUpload"
|
|
|
>
|
|
@@ -144,7 +145,7 @@ export default {
|
|
|
],
|
|
|
},
|
|
|
uploadObj: {
|
|
|
- url: process.env.VUE_APP_UPLOAD_FILE_API + "/upload/single/minio",
|
|
|
+ url: process.env.VUE_APP_UPLOAD_FILE_API + "/thirdapi/upload/single/minio",
|
|
|
Headers: { Authorization: "Bearer " + getToken() },
|
|
|
},
|
|
|
validTtime:[],
|