更新正式环境部署

This commit is contained in:
yziiy
2025-09-02 16:28:18 +08:00
parent 5c96e5bd86
commit 2e2da5fc09
13 changed files with 130 additions and 2662 deletions

View File

@@ -4,9 +4,11 @@
</template>
<script>
import config from '@/until/config.js';
export default {
data() {
return {
httpUrl: null,
fileList: []
}
},
@@ -15,6 +17,9 @@
this.$emit('changeImageList',this.fileList)
}
},
onLoad() {
this.httpUrl = config.BASE_URL
},
methods: {
// 选择文件回调
select(e) {
@@ -60,7 +65,7 @@
},
uploadFile(file) {
uni.uploadFile({
url: 'https://chat.qxmier.com/adminapi/UploadFile/file_upload',
url: `${this.httpUrl}/adminapi/UploadFile/file_upload`,
filePath: file.path,
name: 'files',
success: (uploadRes) => {