|
|
@ -141,7 +141,6 @@ import { BiApi } from "@/api/form"; |
|
|
|
import "@/assets/js/flexible"; |
|
|
|
import "@/assets/js/china"; |
|
|
|
import countTo from "vue-count-to"; |
|
|
|
|
|
|
|
const paramsArr = window.location.href.split('?') |
|
|
|
let authCode = '' |
|
|
|
if (paramsArr.length > 1) { |
|
|
@ -203,10 +202,15 @@ export default { |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
if (authCode && typeof +authCode === 'number') { |
|
|
|
this.$showLoading(); |
|
|
|
this.heart(); |
|
|
|
setTimeout(() => { |
|
|
|
this.getEchart(); |
|
|
|
}, 800); |
|
|
|
// loading |
|
|
|
setTimeout(() => { |
|
|
|
this.$hideLoading(); |
|
|
|
}, 900); |
|
|
|
} else { |
|
|
|
// console.log('授权码为空', authCode); |
|
|
|
alert('授权码为空,请从系统调用页面!') |
|
|
|