删除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() app.$mount()
// #endif // #endif
import Vconsole from 'vconsole'
const vconsole = new Vconsole() // 使用vconsole
// #ifdef VUE3 // #ifdef VUE3
import { import {
createSSRApp createSSRApp
@@ -29,7 +27,6 @@ export function createApp() {
store.use(createUnistorage()); store.use(createUnistorage());
app.use(uviewPlus) app.use(uviewPlus)
app.use(store) app.use(store)
app.use(vconsole)
const $common = useCommonStore() const $common = useCommonStore()
$common.init() $common.init()

View File

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

View File

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