Skip to content

Commit b103712

Browse files
committed
feat(template-plugin): 根据 pluginName 生成默认示例代码中的 PaneName
1 parent 60eed32 commit b103712

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/template-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@alilc/lowcode-template-plugin",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "Ali lowCode engine plugin template",
55
"main": "index.js",
66
"scripts": {

packages/template-plugin/proj/src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const <%- componentName %> = (ctx: ILowCodePluginContext) => {
2828
// 往引擎增加面板
2929
ctx.skeleton.add({
3030
area: 'leftArea',
31-
name: 'demoPane',
31+
name: '<%- componentName %>Pane',
3232
type: 'PanelDock',
3333
props: {
3434
icon: <Icon />,

0 commit comments

Comments
 (0)