小程序编译0.0.0

This commit is contained in:
魏啾
2024-11-13 09:25:34 +08:00
parent 1fbf346aec
commit 2147f86b93
65 changed files with 3745 additions and 852 deletions

View File

@@ -2,17 +2,27 @@ const uploadUrl = 'https://upload-z2.qbox.me'
// const debug = process.env.NODE_ENV === 'development'
const debug = process.env.NODE_ENV == 'development' ? true : false;
const proxyApi = "/api/"
// #ifdef H5
// const baseUrl = debug ? proxyApi : "https://invoice.sxczgkj.cn/api/"
const baseUrl = 'https://invoice.sxczgkj.cn/api/' //正式
// const baseUrl = 'http://192.168.2.23:8888/api/'//正式
// const baseUrl = 'http://test.invoice.sxczgkj.cn/api/'//测试
// #endif
import VConsole from "./vConsole.js"
// const baseUrl = debug ? proxyApi : "https://invoice.sxczgkj.cn/api"
// const baseUrl = 'https://invoice.sxczgkj.cn/api/' //正式
// const baseUrl = 'http://192.168.1.6:8888/api/'//本地
const baseUrl = 'https://test.invoice.sxczgkj.cn/api/'//测试
// import VConsole from "./vConsole.js"
if (debug) {
// new VConsole()
}
const version = '120'
// #endif
// #ifdef MP-WEIXIN || APP
const baseUrl = 'https://invoice.sxczgkj.cn/api/' //正式
// const baseUrl = 'http://192.168.1.6:8888/api/'//本地
// const baseUrl = 'https://test.invoice.sxczgkj.cn/api/'//测试
// #endif
const version = '100'
const autoRemoveCache = {
count: 100000,
size: 100000