更新初级版本

This commit is contained in:
Your Name
2026-03-06 17:30:37 +08:00
parent 52bb80e2f1
commit 7b76671988
19 changed files with 1656 additions and 370 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ import App from './App'
import Vue from 'vue'
import './uni.promisify.adaptor'
Vue.config.productionTip = false
Vue.prototype.$url = 'http://www.d.com'
Vue.prototype.$url = 'http://api.zzzhengyangtang.cn'
Vue.prototype.apiUrl =function apiurl(promise, Loading = true){
let token=uni.getStorageSync('token')
promise.header={
@@ -55,7 +55,7 @@ app.$mount()
import { createSSRApp } from 'vue'
// 定义全局基础URL
const baseUrl = 'http://www.d.com'
const baseUrl = 'http://api.zzzhengyangtang.cn'
// 封装Vue3版本的apiUrl方法
function apiUrl(promise, Loading = true) {