Skip to content

Commit 1c17193

Browse files
authored
Merge pull request alibaba#11 from alibaba/refactor/demoPane
refactor: use a new pane name to prevent conflicting with the plugin …
2 parents 0b0e033 + dc71667 commit 1c17193

File tree

3 files changed

+18
-4
lines changed

3 files changed

+18
-4
lines changed

.github/CODEOWNERS

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# ref: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
2+
3+
# These owners will be the default owners for everything in
4+
# the repo. Unless a later match takes precedence
5+
* @leoyuan @alvarto
6+
7+
/packages/plugin-manual/ @alvarto
8+
/packages/base-monaco-editor/ @alvarto
9+
/packages/plugin-code-editor/ @alvarto
10+
/packages/plugin-schema/ @alvarto
11+
/packages/plugin-components-pane/ @mark-ck
12+
/packages/plugin-datasource-pane/ @xingmolu
13+
/packages/plugin-zh-en/ @leoyuan
14+
/packages/plugin-undo-redo/ @leoyuan

packages/plugin-manual/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@alilc/lowcode-plugin-manual",
33
"author": "humphry.huang9@gmail.com",
4-
"version": "1.0.2",
4+
"version": "1.0.3",
55
"description": "低代码产品使用手册",
66
"main": "lib/index.js",
77
"module": "es/index.js",

packages/plugin-manual/src/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ const PluginManual = (ctx: ILowCodePluginContext) => {
1212
dep: [],
1313
// 插件对外暴露的数据和方法
1414
exports() {
15-
return { }
15+
return {};
1616
},
1717
// 插件的初始化函数,在引擎初始化之后会立刻调用
1818
init() {
1919
// 往引擎增加面板
2020
ctx.skeleton.add({
2121
area: 'leftArea',
22-
name: 'demoPane',
22+
name: 'manualPane',
2323
type: 'PanelDock',
2424
props: {
2525
align: 'bottom',
@@ -36,7 +36,7 @@ const PluginManual = (ctx: ILowCodePluginContext) => {
3636
width: window.innerWidth - 300,
3737
},
3838
footer: false,
39-
})
39+
});
4040
},
4141
},
4242
});

0 commit comments

Comments
 (0)