This commit is contained in:
熊成强 2020-11-09 10:25:01 +08:00
parent a9677fb0fc
commit 030d99556a
3 changed files with 6 additions and 7 deletions

View File

@ -6,7 +6,7 @@
<script>
import { mapState, mapActions } from 'vuex'
import * as dd from 'dingtalk-jsapi'
// import * as dd from 'dingtalk-jsapi'
import { apiDingtalkLogin, apiUserInfo } from '@/api/login'
export default {
name: 'App',
@ -27,10 +27,10 @@ export default {
},
async created () {
console.log('this', this)
if (!dd.other) {
await this.handleGetDingtalkCode()
await this.handleDingtalkLogin()
}
// if (!dd.other) {
// await this.handleGetDingtalkCode()
// await this.handleDingtalkLogin()
// }
this.GET_DEPLIST()
},

View File

@ -13,6 +13,6 @@ const router = [
export default new Router({
base: '/digitization/',
// mode: 'history',
mode: 'history',
routes: [...configRouter, ...kpiRouter, ...router]
})

View File

@ -84,7 +84,6 @@
<script>
import {apiGetAssessList, apiDeleteAssessList} from '@/api/assessment'
console.log('apiGetAssessList: ', apiGetAssessList)
export default {
components: {
},