feat: 完善访谈与vlog模块页面,重组设备与图片公共资源,新增音频管理与一班对接工具

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
zhongyidianandClaude Opus 4.7 committed 2026-05-05 15:41:41 +08:00
1 parent c4c9be9d35
commit fc9633f371
159 files changed
+4823 -2535

No files matched your search

+40 -2
View File
@@ -2,11 +2,37 @@ import globals from 'globals'
import tseslint from 'typescript-eslint'
import pluginVue from 'eslint-plugin-vue'
import { defineConfig } from 'eslint/config'
import { fileURLToPath } from 'node:url'
// 直接使用 tsconfig 的绝对路径,避免中文路径在 URL/路径互转时被编码导致读取失败
const tsconfigEslintPath = fileURLToPath(new URL('./tsconfig.eslint.json', import.meta.url))
export default defineConfig([
{ files: ['**/*.{js,mjs,cjs,ts,mts,cts,vue}'], languageOptions: { globals: globals.browser } },
// 全局忽略:自身配置文件、产物、第三方静态资源等不参与 lint
{
ignores: [
'eslint.config.ts',
'eslint.config.*',
'dist/**',
'node_modules/**',
'public/**',
'vite.config.*',
'postcss.config.*',
'tailwind.config.*'
]
},
{
files: ['**/*.{js,mjs,cjs,ts,mts,cts,tsx,vue}'],
languageOptions: { globals: globals.browser }
},
tseslint.configs.recommended,
{
languageOptions: {
parserOptions: {
// 让 typescript-eslint 使用专用 tsconfig(显式 include .vue)
project: [tsconfigEslintPath]
}
},
rules: {
'@typescript-eslint/no-explicit-any': 'off'
}
@@ -14,7 +40,19 @@ export default defineConfig([
pluginVue.configs['flat/essential'],
{
files: ['**/*.vue'],
languageOptions: { parserOptions: { parser: tseslint.parser } },
languageOptions: {
parserOptions: {
parser: {
ts: tseslint.parser,
tsx: tseslint.parser
},
project: [tsconfigEslintPath],
extraFileExtensions: ['.vue'],
ecmaFeatures: {
jsx: true
}
}
},
rules: {
'vue/multi-word-component-names': 'off',
'vue/no-undef-components': [