Skip to content

Commit eba2e8e

Browse files
committed
fix(layer): 层级API调整
1 parent 7d78936 commit eba2e8e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/core/plugin/LayerPlugin.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @Author: 秦少卫
33
* @Date: 2023-06-15 23:23:18
44
* @LastEditors: 秦少卫
5-
* @LastEditTime: 2024-07-06 18:22:46
5+
* @LastEditTime: 2024-07-06 23:53:42
66
* @Description: 图层调整插件
77
*/
88

@@ -85,12 +85,12 @@ class LayerPlugin implements IPluginTempl {
8585
{
8686
text: '置顶',
8787
hotkey: '',
88-
onclick: () => this.upTop(),
88+
onclick: () => this.toFront(),
8989
},
9090
{
9191
text: '置底',
9292
hotkey: '',
93-
onclick: () => this.downTop(),
93+
onclick: () => this.toBack(),
9494
},
9595
],
9696
},

0 commit comments

Comments
 (0)