chore: playground调试启用严格访问模式

This commit is contained in:
roymondchen 2023-09-21 14:10:29 +08:00
parent 355c2f983f
commit a22e59e2bd
2 changed files with 1 additions and 4 deletions

View File

@ -80,7 +80,7 @@ const unWatch = watch(
} }
timeout = globalThis.setTimeout(() => { timeout = globalThis.setTimeout(() => {
const els = stage?.renderer.getElementsFromPoint(event); const els = stage.renderer.getElementsFromPoint(event) || [];
const nodes = getNodes( const nodes = getNodes(
els.map((el) => el.id), els.map((el) => el.id),

View File

@ -78,9 +78,6 @@ export default defineConfig({
}, },
server: { server: {
fs: {
strict: false,
},
host: '0.0.0.0', host: '0.0.0.0',
port: 8098, port: 8098,
strictPort: true, strictPort: true,