钉钉登录测试
(cherry picked from commit c521709fbb7e9e8c3241f2eb8840a4c17ebc65e6)
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@ Vue.config.productionTip = false
|
||||
|
||||
// 启动 VConsole
|
||||
// eslint-disable-next-line no-new
|
||||
if (window._CONFIG.vConsole) new VConsole()
|
||||
if (process.env.NODE_ENV !== 'production') new VConsole()
|
||||
|
||||
Vue.use(Vant)
|
||||
Vue.use(VueI18n)
|
||||
|
||||
@@ -61,7 +61,7 @@ export default {
|
||||
console.log('请在钉钉内打开')
|
||||
return false
|
||||
}
|
||||
const ddCorpId = window._CONFIG.ddCorpId
|
||||
const ddCorpId = process.env.VUE_APP_DING_CORP_ID
|
||||
console.log('ddCorpId', ddCorpId)
|
||||
dd.runtime.permission.requestAuthCode({
|
||||
cropId: ddCorpId,
|
||||
|
||||
Reference in New Issue
Block a user