MCPcopy Create free account
hub / github.com/MankaiHuang/screen-visualization / createBlankScreen

Function createBlankScreen

src/components/Grid/Grid.jsx:17–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15 fileList: props.templateList
16 })
17 const createBlankScreen = async () => {
18 // 新建空白模板
19 props.setLoading(true)
20 props.setLoading(false)
21 router.push({
22 pathname: '/workspace',
23 query: { templateName: '123' }
24 });
25 }
26 const copyScreen = async (id) => {
27 // 根据id copy模板
28 props.setLoading(true)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected