mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-06 03:57:56 +08:00
chore: playground调试启用严格访问模式
This commit is contained in:
parent
355c2f983f
commit
a22e59e2bd
@ -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),
|
||||||
|
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user