配置打包信息

test
zhangdi 1 year ago
parent 5a43022789
commit e4b15572e2
  1. 4
      common/betone_components/betone-upload.vue
  2. 3
      utils/global.js
  3. 2
      utils/request.js
  4. 1
      utils/website.js
  5. 5
      打包配置/README.md

@ -23,6 +23,8 @@
<script>
import { isVideo, isImage } from "@/utils/util";
import website from '@/utils/website'
export default {
name: "spUpload",
model: {
@ -94,7 +96,7 @@ export default {
},
uploadFile(filePath) {
uni.uploadFile({
url: "http://124.221.142.15:8088/lab/blade-resource/oss/endpoint/put-file", //
url: website.baseUrl+"/blade-resource/oss/endpoint/put-file", //
filePath: filePath,
name: "file", //
formData: {},

@ -1,4 +1,5 @@
export default {
timer: null,
tabBarCurrent: 0
tabBarCurrent: 0,
}

@ -5,7 +5,7 @@ import website from './website'
const install = (Vue, vm) => {
// 此为自定义配置参数,具体参数见上方说明
Vue.prototype.$u.http.setConfig({
baseUrl: 'http://124.221.142.15:8088/lab',
baseUrl:website.baseUrl,
/* 根域名 */
});

@ -2,6 +2,7 @@
* 全局配置文件
*/
export default {
baseUrl:'http://124.221.142.15:8088/lab',
title: "",
logo: "S",
key: "saber", //配置主键,目前用于存储

@ -0,0 +1,5 @@
安卓
证书别名 laboratory
密码 123456
证书文件 laboratory.keystore
ios
Loading…
Cancel
Save