1

parent a206f8f9
...@@ -154,6 +154,7 @@ const params = ref({ ...@@ -154,6 +154,7 @@ const params = ref({
lon: '', lon: '',
lat: '', lat: '',
isEnd: false, isEnd: false,
categoryIds: ['6'],
}); });
const pics = ref(null); const pics = ref(null);
onLoad((option) => { onLoad((option) => {
......
...@@ -10,8 +10,8 @@ import { getTokenUser } from '../../api/index'; ...@@ -10,8 +10,8 @@ import { getTokenUser } from '../../api/index';
import { getToken } from '../../utils/auth'; import { getToken } from '../../utils/auth';
onLoad(async (options) => { onLoad(async (options) => {
await signIn(); // await signIn();
// if (!getToken()) await signIn2(); if (!getToken()) await signIn2();
const { type } = options; const { type } = options;
switch (type) { switch (type) {
case '0': case '0':
......
...@@ -41,8 +41,8 @@ export default defineConfig({ ...@@ -41,8 +41,8 @@ export default defineConfig({
// 代理配置 // 代理配置
proxy: { proxy: {
'/api': { '/api': {
target: 'http://test.rhhzkj.com:8080', // target: 'http://test.rhhzkj.com:8080',
// target: 'https://api.rddyz.com', target: 'https://api.rddyz.com',
changeOrigin: true, changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, ''), 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