Commit b73476ac by 张立顺

合并

1 parent 7a866f6c
......@@ -113,6 +113,7 @@ fetch('https://config-center-backend.glsx.com.cn/glsxAdmin/config?moduleUrl=dj-c
init()
})
function init() {
console.log(baseConfig, 'baseConfig')
baseConfig.vconsole && new VConsole()
new Vue({
router,
......
......@@ -39,7 +39,8 @@ router.beforeEach((to, from, next) => {
// console.log(AlipayClient)
// 开发调试用可以先把这个逻辑取消
if (!AlipayClient && to.path !== '/tipsPage') return next('/tipsPage')
const isDev = process.env.NODE_ENV == 'development'
if (!isDev && !AlipayClient && to.path !== '/tipsPage') return next('/tipsPage')
// if (/MicroMessenger/.test(window.navigator.userAgent)) {
// alert('微信客户端')
......
......@@ -10,7 +10,7 @@
</div>
<div class="company center" v-else>
<!-- <div class="" >深圳市嘀加智慧云服务有限公司</div> -->
<div class="company-name">{{ merchantName }}</div>
<div class="company-name">{{ shopMerchantName }}</div>
</div>
</div>
<div class="pay-main">
......@@ -139,11 +139,8 @@ export default {
// ap.alert(appId)
// 请求用户授权
ap.getAuthCode({
// appId: '${appId}',
appId,
// scopes: ['auth_user']
// 主动授权:auth_user,静默授权:auth_base。或者其它scope
scopes: ['auth_base']
scopes: ['auth_base']// 主动授权:auth_user,静默授权:auth_base。或者其它scope
}, function (res) {
// ap.alert(JSON.stringify(res))
console.log(JSON.stringify(res))
......@@ -393,7 +390,7 @@ export default {
margin-left: 20px;
}
.center {
.pay-header .company.center {
justify-content: center;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!