mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-05 19:41:40 +08:00
chore: playground调试启用严格访问模式
This commit is contained in:
parent
355c2f983f
commit
a22e59e2bd
@ -80,7 +80,7 @@ const unWatch = watch(
|
||||
}
|
||||
|
||||
timeout = globalThis.setTimeout(() => {
|
||||
const els = stage?.renderer.getElementsFromPoint(event);
|
||||
const els = stage.renderer.getElementsFromPoint(event) || [];
|
||||
|
||||
const nodes = getNodes(
|
||||
els.map((el) => el.id),
|
||||
|
@ -78,9 +78,6 @@ export default defineConfig({
|
||||
},
|
||||
|
||||
server: {
|
||||
fs: {
|
||||
strict: false,
|
||||
},
|
||||
host: '0.0.0.0',
|
||||
port: 8098,
|
||||
strictPort: true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user