console.log(11111111111111111111) console.log(156651325) //请求的根路径 let $http= { // baseUrl:'https://69b89r4952.yicp.fun/', baseUrl: 'http://69b89r4952.yicp.fun/', // baseUrl:'http:localhost:2441/', // testToken: "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiOiIxLUFETUlOIiwiZXhwIjoxNzQ0ODczMDU3fQ.nFyXamWDlUwpHlWb75BTV6e6eC0792A4pnBdGvY5IEk" testToken:"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiOiIxLUFETUlOIiwiZXhwIjoxNzQ0ODczMDU3fQ.nFyXamWDlUwpHlWb75BTV6e6eC0792A4pnBdGvY5IEk" } uni.$http=$http import App from './App' import store from './store/store.js' import Vue from 'vue' // #ifndef VUE3 import './uni.promisify.adaptor' Vue.config.productionTip = false App.mpType = 'app' const app = new Vue({ ...App, store }) app.$mount() // #endif // console.log(1111111111111111111111111) // #ifdef VUE3 console.log(uni.$http,"uni.$http"); import { createSSRApp } from 'vue' export function createApp() { const app = createSSRApp(App) return { app } } // #endif