vconsole迁移至cdn

This commit is contained in:
aixianling
2022-08-08 16:20:52 +08:00
parent 0a9e1ce2da
commit 777723c7c2

View File

@@ -65,7 +65,6 @@
<script>
import {mapActions, mapState} from "vuex";
import VConsole from 'vconsole'
export default {
name: 'my',
@@ -106,7 +105,7 @@ export default {
},
handleVConosle() {
if (this.vcBtn.count == 5) {
new VConsole()
this.$injectLib("https://cdn.cunwuyun.cn/vconsole.min.js", () => new VConsole())
} else {
this.vcBtn.count++
}