File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
apps/playground/src/views/editor Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import { ISchemasRoot } from '@quantum-lowcode/schemas';
33export const defaultSchemas : ISchemasRoot = {
44 type : 'root' ,
55 name : 'test' ,
6+ field : 'root' ,
67 children : [
78 {
89 type : 'page' ,
@@ -20,6 +21,7 @@ export const defaultSchemas: ISchemasRoot = {
2021export const testSchemasV1 : ISchemasRoot = {
2122 type : 'root' ,
2223 name : 'test' ,
24+ field : 'root' ,
2325 dataSources : [
2426 {
2527 type : 'base' ,
@@ -204,6 +206,7 @@ export const testSchemasV1: ISchemasRoot = {
204206export const testSchemasV2 : ISchemasRoot = {
205207 type : 'root' ,
206208 name : 'test2' ,
209+ field : 'root' ,
207210 children : [
208211 {
209212 type : 'page' ,
Original file line number Diff line number Diff line change @@ -618,7 +618,6 @@ export class ActionManager extends Subscribe {
618618 private mouseMoveHandler = ( event : MouseEvent ) => {
619619 js_utils_throttle_event (
620620 async ( event : MouseEvent ) : Promise < void > => {
621- console . log ( 'mouseMoveHandler' ) ;
622621 if (
623622 ( event . target as HTMLDivElement ) ?. classList ?. contains (
624623 'moveable-direction'
@@ -671,7 +670,6 @@ export class ActionManager extends Subscribe {
671670 * 在up事件中负责对外通知选中事件,通知画布之外的编辑器更新
672671 */
673672 private mouseUpHandler = ( event : MouseEvent ) : void => {
674- console . log ( 'mouseUpHandler' ) ;
675673 getDocument ( ) . removeEventListener ( 'mouseup' , this . mouseUpHandler ) ;
676674 this . container . addEventListener ( 'mousemove' , this . mouseMoveHandler ) ;
677675 if ( this . isMultiSelectStatus ) {
You can’t perform that action at this time.
0 commit comments