Skip to content

Commit 9037e80

Browse files
Merge pull request #2 from Little-LittleProgrammer/feature/1.1.2
Feature/1.1.2
2 parents 4d51747 + a53b528 commit 9037e80

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

apps/playground/src/views/editor/init-schemas.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { ISchemasRoot } from '@quantum-lowcode/schemas';
33
export 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 = {
2021
export 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 = {
204206
export const testSchemasV2: ISchemasRoot = {
205207
type: 'root',
206208
name: 'test2',
209+
field: 'root',
207210
children: [
208211
{
209212
type: 'page',

packages/sandbox/src/action-manager.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff 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) {

0 commit comments

Comments
 (0)