1

parent a206f8f9
......@@ -154,6 +154,7 @@ const params = ref({
lon: '',
lat: '',
isEnd: false,
categoryIds: ['6'],
});
const pics = ref(null);
onLoad((option) => {
......
......@@ -10,8 +10,8 @@ import { getTokenUser } from '../../api/index';
import { getToken } from '../../utils/auth';
onLoad(async (options) => {
await signIn();
// if (!getToken()) await signIn2();
// await signIn();
if (!getToken()) await signIn2();
const { type } = options;
switch (type) {
case '0':
......
......@@ -41,8 +41,8 @@ export default defineConfig({
// 代理配置
proxy: {
'/api': {
target: 'http://test.rhhzkj.com:8080',
// target: 'https://api.rddyz.com',
// target: 'http://test.rhhzkj.com:8080',
target: 'https://api.rddyz.com',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, ''),
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment