删除vconsole

This commit is contained in:
duan
2025-01-14 11:22:45 +08:00
parent 05201cf26b
commit ac16bec455
3 changed files with 1 additions and 6 deletions

View File

@@ -17,8 +17,6 @@ const app = new Vue({
})
app.$mount()
// #endif
import Vconsole from 'vconsole'
const vconsole = new Vconsole() // 使用vconsole
// #ifdef VUE3
import {
createSSRApp
@@ -29,7 +27,6 @@ export function createApp() {
store.use(createUnistorage());
app.use(uviewPlus)
app.use(store)
app.use(vconsole)
const $common = useCommonStore()
$common.init()

View File

@@ -7,8 +7,7 @@
"lodash": "^4.17.21",
"pre-commit": "^1.2.2",
"to-arraybuffer": "^1.0.1",
"uview-plus": "^3.3.61",
"vconsole": "^3.15.1"
"uview-plus": "^3.3.61"
},
"devDependencies": {
"pinia-plugin-unistorage": "^0.1.2"

View File

@@ -204,7 +204,6 @@ function ruleInit(){
function ruleConfirm() {
datas.ruleShow = false
datas.ruleIndex++
console.log(datas.ruleIndex >= datas.ruleList.length)
if( datas.ruleIndex >= datas.ruleList.length) {
datas.ruleIndex = 0
return