Update: 更新Mixly.Web.FooterLayerExample

This commit is contained in:
王立帮
2025-03-09 11:21:57 +08:00
parent 2b260b18b9
commit 25532832c4

View File

@@ -78,7 +78,7 @@ class FooterLayerExampleExt extends FooterLayerExample {
dataToWorkspace(inPath) {
const data = goog.get(path.join(Env.boardDirPath, 'examples', inPath));
this.updateCode(inPath.substring(inPath.lastIndexOf('.')), data);
this.updateCode(path.extname(inPath), data);
}
}