From 61f6b4c385793d5195367d6f351864edb71a99e8 Mon Sep 17 00:00:00 2001 From: Gaoxs <704041637@qq.com> Date: Tue, 15 Sep 2020 15:57:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=B9=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/index.js | 4 ---- utils/index.js | 16 ---------------- 2 files changed, 20 deletions(-) diff --git a/config/index.js b/config/index.js index 7c481f6..c54667e 100644 --- a/config/index.js +++ b/config/index.js @@ -1,12 +1,8 @@ -<<<<<<< HEAD // export const VUE_APP_API_URL = 'http://natapp.xinxintuan.co/api'; export const VUE_APP_API_URL = 'https://wxapi.yixiang.co/api'; // export const VUE_APP_API_URL = 'http://192.168.31.223:8008/api'; // export const VUE_APP_API_URL = 'https://h5api.xinxintuan.co/api'; // export const VUE_APP_API_URL = 'https://h5api.xinxintuan.co/api'; -======= -export const VUE_APP_API_URL = 'https://wxapi.yixiang.co/api'; ->>>>>>> cd4be74b4e66d2c142be343c65dc2de48ad97bd8 export const VUE_APP_RESOURCES_URL = 'https://wx.yixiang.co/static'; diff --git a/utils/index.js b/utils/index.js index 0c0fc25..6bd0856 100644 --- a/utils/index.js +++ b/utils/index.js @@ -92,11 +92,7 @@ export function parseQuery() { // #ifdef H5 -<<<<<<< HEAD - const res = {}; -======= let res = {}; ->>>>>>> cd4be74b4e66d2c142be343c65dc2de48ad97bd8 const query = (location.href.split("?")[1] || "") .trim() @@ -120,20 +116,8 @@ export function parseQuery() { } }); // #endif -<<<<<<< HEAD - -======= ->>>>>>> cd4be74b4e66d2c142be343c65dc2de48ad97bd8 - // #ifdef MP-WEIXIN - - var pages = getCurrentPages() //获取加载的页面 - var currentPage = pages[pages.length - 1] //获取当前页面的对象 var url = currentPage.route //当前页面url -<<<<<<< HEAD - var res = currentPage.options //如果要获取url中所带的参数可以查看options -======= res = currentPage.options //如果要获取url中所带的参数可以查看options ->>>>>>> cd4be74b4e66d2c142be343c65dc2de48ad97bd8 // #endif return res