diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Index.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Index.cs index 8013797dc..96b441e6e 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Index.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Index.cs @@ -15,6 +15,7 @@ namespace Learun.Application.WebApi : base() { Get["/"] = MainIndex; + Get["/index.html"] = MainIndex Get["/bgimg"] = BgImg; } /// diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/.eslintrc.js b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/.eslintrc.js new file mode 100644 index 000000000..95702d5d7 --- /dev/null +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/.eslintrc.js @@ -0,0 +1,75 @@ +// 本文件是 ESLint 的配置文件 +// ESLint 用于在您二次开发时,每次保存文件后,对代码进行校验,并对可能出错的地方给予提示 +// 一般来说不需要修改此文件,除非您有额外的需求 + +//更详细的配置文档请参考:https://github.com/vuejs/eslint-plugin-vue#gear-configs +module.exports = { + "extends": "plugin:vue/base", + parserOptions: { + ecmaVersion: 2017, + sourceType: 'module' + }, + "rules": { + //在computed properties中禁用异步actions + 'vue/no-async-in-computed-properties': 'error', + //不允许重复的keys + 'vue/no-dupe-keys': 'error', + //不允许重复的attributes + 'vue/no-duplicate-attributes': 'warn', + //在