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="别人都叫你什么?"
|
||||
/>
|
||||
<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"
|
||||
>
|
||||
输入的姓名必须包含 '测试' 字符串。
|
||||
|
@ -4,4 +4,7 @@ import vue from '@vitejs/plugin-vue'
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [vue()],
|
||||
build: {
|
||||
sourcemap: true
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user