修复默认开关

v1
宇天 2020-09-28 10:38:47 +08:00
parent 218857e9f8
commit 36d28679e8
3 changed files with 3 additions and 2 deletions

View File

@ -41,7 +41,7 @@ export default {
passwd: ''
},
views: {
enabled: true,
enabled: false,
dir: '',
ext: '.htm'
},

View File

@ -124,6 +124,7 @@ export default class Five {
}
this.__MODULES__[name] = import(item).catch(err => {
console.error(err)
return { default: null }
})
})

View File

@ -1,6 +1,6 @@
{
"name": "@gm5/core",
"version": "1.0.0",
"version": "1.0.1",
"type": "module",
"description": "Five.js, 一个轻量级的nodejs mvc框架 旨在简单易用, 5分钟即可上手",
"author": "yutent <yutent.io@gmail.com>",