From aa34c2f71bfc5cf7a9036506adf647aab273dce2 Mon Sep 17 00:00:00 2001 From: bqy_fe <1743369777@qq.com> Date: Wed, 14 Jul 2021 10:35:54 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20:sparkles:=E8=B7=AF=E7=94=B1=E7=BC=93?= =?UTF-8?q?=E5=AD=98=E6=8E=A7=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .husky/pre-push | 7 +---- package.json | 3 ++- preview/App.vue | 26 ++++++++++++++----- preview/views/preview.vue | 14 +++------- preview/views/slot-item.vue | 4 +-- src/packages/base-widgets/checkbox/index.tsx | 2 +- .../base-widgets/datetimePicker/index.tsx | 2 +- src/packages/base-widgets/input/index.tsx | 8 +++--- src/packages/base-widgets/picker/index.tsx | 3 +-- src/packages/base-widgets/radio/index.tsx | 2 +- src/packages/base-widgets/rate/index.tsx | 2 +- src/packages/base-widgets/slider/index.tsx | 2 +- src/packages/base-widgets/stepper/index.tsx | 7 +++-- src/packages/base-widgets/switch/index.tsx | 2 +- .../components/data-source/data-fetch.vue | 4 +-- .../components/data-source/data-model.vue | 4 +-- .../components/data-source/utils.tsx | 6 ++--- .../components/event-action/index.tsx | 6 ++--- .../components/page-setting/pageSetting.tsx | 7 +++-- src/visual-editor/hooks/useVisualData.ts | 6 +++-- src/visual-editor/utils/index.ts | 19 +++----------- src/visual-editor/visual-editor.utils.ts | 6 +++-- yarn.lock | 7 ++++- 23 files changed, 76 insertions(+), 73 deletions(-) diff --git a/.husky/pre-push b/.husky/pre-push index 3aa50b6..7874bbc 100644 --- a/.husky/pre-push +++ b/.husky/pre-push @@ -1,9 +1,4 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -npm run test - - - - - +# npm run test diff --git a/package.json b/package.json index 98c6c43..786b2ec 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,7 @@ "element-plus": "1.0.2-beta.54", "lodash": "^4.17.21", "monaco-editor": "^0.25.2", + "nanoid": "^3.1.23", "normalize.css": "^8.0.1", "nprogress": "^1.0.0-1", "qrcode": "^1.4.4", @@ -43,7 +44,7 @@ "devDependencies": { "@commitlint/cli": "^12.1.4", "@commitlint/config-conventional": "^12.1.4", - "@types/node": "^16.3.1", + "@types/node": "^16.3.2", "@typescript-eslint/eslint-plugin": "^4.28.3", "@typescript-eslint/parser": "^4.28.3", "@vitejs/plugin-legacy": "^1.4.4", diff --git a/preview/App.vue b/preview/App.vue index ff7eb61..1a063e0 100644 --- a/preview/App.vue +++ b/preview/App.vue @@ -7,6 +7,8 @@