fix: 修复条件判断中的可选链语法错误;在 Vite 配置中启用 sourcemap
All checks were successful
/ surge (push) Successful in 30s
All checks were successful
/ surge (push) Successful in 30s
This commit is contained in:
@ -65,7 +65,7 @@ onMounted(() => {
|
|||||||
help="别人都叫你什么?"
|
help="别人都叫你什么?"
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
v-if="!((value?.attributes as any).name)?.includes('测试')"
|
v-if="!((value?.attributes as any)?.name)?.includes('测试')"
|
||||||
class="text-red-500 mb-4 p-2 border border-red-500 rounded"
|
class="text-red-500 mb-4 p-2 border border-red-500 rounded"
|
||||||
>
|
>
|
||||||
输入的姓名必须包含 '测试' 字符串。
|
输入的姓名必须包含 '测试' 字符串。
|
||||||
|
@ -4,4 +4,7 @@ import vue from '@vitejs/plugin-vue'
|
|||||||
// https://vite.dev/config/
|
// https://vite.dev/config/
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [vue()],
|
plugins: [vue()],
|
||||||
|
build: {
|
||||||
|
sourcemap: true
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user