接口地址修改

This commit is contained in:
bestlee 2026-06-25 11:19:57 +08:00
parent 701a992d5d
commit e5e97d2598
1 changed files with 2 additions and 2 deletions

View File

@ -2,8 +2,8 @@ import axios from 'axios';
import router from '@/router'
import { showNotify } from 'vant';
const url = 'http://192.168.0.230';
// const url = window.location.origin;
// const url = 'http://192.168.0.230';
const url = window.location.origin;
axios.defaults.baseURL = url;
axios.defaults.withCredentials = false;