章节管理新增语言切换和上传并拆分文章附件的功能

This commit is contained in:
liuyuan
2025-01-26 09:38:37 +08:00
parent e50b0ef678
commit ccffb7be6b
12 changed files with 205 additions and 31 deletions

25
.eslintrc.js Normal file
View File

@@ -0,0 +1,25 @@
// https://eslint.org/docs/user-guide/configuring
module.exports = {
root: true,
parser: 'babel-eslint',
parserOptions: {
sourceType: 'module'
},
env: {
browser: true,
},
// https://github.com/standard/standard/blob/master/docs/RULES-en.md
extends: 'standard',
// required to lint *.vue files
plugins: [
'html'
],
// add your custom rules here
rules: {
// allow async-await
'generator-star-spacing': 'off',
// allow debugger during development
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
}
}