Browse Source

Merge branch 'bug_fix' into dev

feature
mk 1 year ago
parent
commit
c46018ca04
  1. 2
      src/components/launchWeapp/index.vue
  2. 2
      src/utils/request.js

2
src/components/launchWeapp/index.vue

@ -1,6 +1,6 @@
<template>
<div class="navi-container">
<div class="fake-btn" id="weappBtn">点击跳转小程序</div>
<div class="fake-btn">点击跳转小程序</div>
<wx-open-launch-weapp @launch="launch" appid="wx6163d215ef686f78" path="pages/home/index.html"
style="position: absolute;top: 0;left: 0;width: 100%;height: 50px;z-index: 10;">
<script type="text/wxtag-template">

2
src/utils/request.js

@ -31,7 +31,7 @@ service.interceptors.request.use(
config.headers['customerId'] = store.state.app.userInfo.customerId
}
if (store.state.app.userInfo.id) {
config.headers['userId'] = store.state.app.userInfo.id
config.headers['userId'] = '';
}
config.baseURL = config.baseURL + '/'
return config

Loading…
Cancel
Save