修改路由、控制台类别限制;修复异常
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
"name": "@kunkunyu/plugin-douban",
|
||||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite build --watch --mode=development",
|
||||
"build": "vite build",
|
||||
|
||||
Generated
+5059
-3251
File diff suppressed because it is too large
Load Diff
@@ -218,32 +218,11 @@ const handleSaveFriend = async () => {
|
||||
></FormKit>
|
||||
<FormKit
|
||||
v-if="formState.spec.dataType=='halo'"
|
||||
:options="[
|
||||
{
|
||||
label: '电影',
|
||||
value: 'movie',
|
||||
},
|
||||
{
|
||||
label: '图书',
|
||||
value: 'book',
|
||||
},
|
||||
{
|
||||
label: '音乐',
|
||||
value: 'music',
|
||||
},
|
||||
{
|
||||
label: '游戏',
|
||||
value: 'game',
|
||||
},
|
||||
{
|
||||
label: '舞台剧',
|
||||
value: 'drama',
|
||||
},
|
||||
]"
|
||||
label="类型"
|
||||
type="text"
|
||||
v-model="formState.spec.type"
|
||||
name="type"
|
||||
type="select"
|
||||
label="类型"
|
||||
placeholder="输入类型 value,例如 movie"
|
||||
></FormKit>
|
||||
<FormKit
|
||||
v-if="formState.spec.dataType=='halo'"
|
||||
|
||||
+4
-27
@@ -332,35 +332,12 @@ const onEditingModalClose = async () => {
|
||||
},
|
||||
]"
|
||||
/>
|
||||
<FilterDropdown
|
||||
<FormKit
|
||||
v-model="selectedType"
|
||||
label="类型"
|
||||
:items="[
|
||||
{
|
||||
label: '全部',
|
||||
value: undefined,
|
||||
},
|
||||
{
|
||||
label: '电影',
|
||||
value: 'movie',
|
||||
},
|
||||
{
|
||||
label: '图书',
|
||||
value: 'book',
|
||||
},
|
||||
{
|
||||
label: '音乐',
|
||||
value: 'music',
|
||||
},
|
||||
{
|
||||
label: '游戏',
|
||||
value: 'game',
|
||||
},
|
||||
{
|
||||
label: '舞台剧',
|
||||
value: 'drama',
|
||||
},
|
||||
]"
|
||||
placeholder="输入类型 value 过滤,例如 movie"
|
||||
type="text"
|
||||
outer-class="!moments-p-0"
|
||||
/>
|
||||
<FilterDropdown
|
||||
v-model="selectedSort"
|
||||
|
||||
+16
-2
@@ -1,13 +1,27 @@
|
||||
{
|
||||
"extends": "@vue/tsconfig/tsconfig.web.json",
|
||||
"include": ["./env.d.ts", "./src/**/*", "./src/**/*.vue"],
|
||||
"exclude": ["./src/**/__tests__/*"],
|
||||
"compilerOptions": {
|
||||
"composite": true,
|
||||
"target": "ES2020",
|
||||
"useDefineForClassFields": true,
|
||||
"module": "ESNext",
|
||||
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
||||
"skipLibCheck": true,
|
||||
"moduleResolution": "bundler",
|
||||
"allowImportingTsExtensions": true,
|
||||
"resolveJsonModule": true,
|
||||
"isolatedModules": true,
|
||||
"noEmit": true,
|
||||
"jsx": "preserve",
|
||||
"strict": true,
|
||||
"noUnusedLocals": true,
|
||||
"noUnusedParameters": true,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@/*": ["./src/*"]
|
||||
},
|
||||
"types": ["unplugin-icons/types/vue"]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"extends": "@vue/tsconfig/tsconfig.node.json",
|
||||
"extends": "@tsconfig/node20/tsconfig.json",
|
||||
"include": ["vite.config.*", "vitest.config.*", "cypress.config.*"],
|
||||
"compilerOptions": {
|
||||
"composite": true,
|
||||
"types": ["node"]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user