File tree 1 file changed +1
-12
lines changed 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -122,17 +122,7 @@ export class MainPanelProvider {
122
122
*/
123
123
createMountedElement ( ) {
124
124
const renderControlPanel = this . getControlPanelRoot ( ) ;
125
- const child = document . createElement ( 'div' ) ;
126
- child . style = "background-color: white;"
127
-
128
- // 清空子节点
129
- while ( renderControlPanel . firstChild ) {
130
- renderControlPanel . removeChild ( renderControlPanel . firstChild )
131
- }
132
-
133
- renderControlPanel . appendChild ( child ) ;
134
-
135
- return child ;
125
+ return renderControlPanel ;
136
126
}
137
127
138
128
/**
@@ -260,7 +250,6 @@ export class MainPanelProvider {
260
250
* 开启编辑模式,并禁用默认的事件,添加编辑事件
261
251
*/
262
252
enableEditMode ( ) {
263
- debugger
264
253
const renderControlPanel = this . getControlPanelRoot ( ) ;
265
254
// 加一个延迟的作用是:给el-table这种绘制需要时间的组件留出充足的时间,否则会造成el-table渲染不到页面上
266
255
setTimeout ( ( ) => {
You can’t perform that action at this time.
0 commit comments