Commit 9a1a1bd4 by xinla

vue3-count-to

1 parent 2dfaf097
...@@ -50,6 +50,7 @@ ...@@ -50,6 +50,7 @@
"vue": "^3.2.47", "vue": "^3.2.47",
"vue-cropper": "^1.0.8", "vue-cropper": "^1.0.8",
"vue-router": "^4.1.6", "vue-router": "^4.1.6",
"vue3-count-to": "^1.1.2",
"vuedraggable": "^4.1.0" "vuedraggable": "^4.1.0"
}, },
"devDependencies": { "devDependencies": {
......
...@@ -30,8 +30,7 @@ ...@@ -30,8 +30,7 @@
</template> </template>
</el-popover> </el-popover>
</div> </div>
{{ item.num }} <CountTo class="view-item-num" :start-val="0" :end-val="item.num" :duration="durationCount" />
<!-- <CountTo class="view-item-num" :start-val="0" :end-val="item.num" :duration="durationCount" /> -->
</div> </div>
</div> </div>
</div> </div>
...@@ -66,7 +65,7 @@ ...@@ -66,7 +65,7 @@
<div class="companyName">{{ $store.user.companyName }}</div> <div class="companyName">{{ $store.user.companyName }}</div>
<div class="info"> <div class="info">
当前版本: 当前版本:
<span class="fr">{{ lwConfig._version||table.currentEdition }}</span> <span class="fr">{{ lwConfig._version || table.currentEdition }}</span>
</div> </div>
<div class="info"> <div class="info">
使用人数: 使用人数:
...@@ -171,11 +170,11 @@ ...@@ -171,11 +170,11 @@
import { getUserProfile } from '@/api/system/user' import { getUserProfile } from '@/api/system/user'
import * as api from '@/api/index' import * as api from '@/api/index'
// import { getCustomerServiceQrUrl } from '@/api/login' // import { getCustomerServiceQrUrl } from '@/api/login'
// import CountTo from 'vue-count-to' import { CountTo } from 'vue3-count-to'
export default { export default {
name: 'Index', name: 'Index',
components: { components: {
// CountTo, CountTo,
Dynamics: defineAsyncComponent(() => import('./components/dynamics')), Dynamics: defineAsyncComponent(() => import('./components/dynamics')),
TabContent: defineAsyncComponent(() => import('./components/TabContent')), TabContent: defineAsyncComponent(() => import('./components/TabContent')),
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!