| | |
| | | Vue.prototype.handleTree = handleTree |
| | | Vue.prototype.getToken = getToken |
| | | Vue.prototype.$uploadUrl = process.env.VUE_APP_BASE_API + "/common/upload" |
| | | Vue.prototype.$img = process.env.VUE_APP_BASE_API |
| | | |
| | | |
| | | // 全局组件挂载 |
| | | Vue.component('DictTag', DictTag) |
| | |
| | | Vue.use(VScaleScreen) |
| | | Vue.use(dataV) |
| | | DictData.install() |
| | | |
| | | // websocket |
| | | Vue.prototype.$websocket = null; |
| | | |
| | | /** |
| | | * If you don't want to use mock-server |
| | |
| | | duration: 1, |
| | | ease: "power2.out", |
| | | onUpdate: () => { |
| | | el.innerText = formatNumber(target.count.toFixed(0)); |
| | | // el.innerText = formatNumber(target.count.toFixed(0)); |
| | | } |
| | | }) |
| | | |
| | |
| | | duration: 1, |
| | | ease: "power2.out", |
| | | onUpdate: () => { |
| | | el.innerText = formatNumber(target.count.toFixed(0)); |
| | | // el.innerText = formatNumber(target.count.toFixed(0)); |
| | | } |
| | | }) |
| | | } |