From 2c8724776702c2202a354de8fc65b9489fa34678 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A1=8C=E8=A8=80?= <2311595895@qq.com> Date: Tue, 25 Mar 2025 19:36:24 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix(CodeReview):=20=E9=80=89=E4=B8=AD?= =?UTF-8?q?=E6=96=87=E5=AD=97=E5=90=8E=EF=BC=8C=E5=86=8D=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E8=BE=93=E5=85=A5=E6=A1=86=E6=97=B6=EF=BC=8C=E8=BE=93=E5=85=A5?= =?UTF-8?q?=E6=A1=86=E6=97=A0=E6=B3=95=E8=8E=B7=E5=8F=96=E7=84=A6=E7=82=B9?= =?UTF-8?q?=20(#1936)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../devui/code-review/src/composables/use-code-review.ts | 2 +- packages/devui-vue/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/devui-vue/devui/code-review/src/composables/use-code-review.ts b/packages/devui-vue/devui/code-review/src/composables/use-code-review.ts index dd0b8367f3..7d60ab1717 100644 --- a/packages/devui-vue/devui/code-review/src/composables/use-code-review.ts +++ b/packages/devui-vue/devui/code-review/src/composables/use-code-review.ts @@ -72,8 +72,8 @@ export function useCodeReview( ) { setTimeout(() => { selectionSide.value = ''; - selection.removeAllRanges(); }); + selection.removeRange(selection.getRangeAt(0)); } } else { selectionSide.value = ''; diff --git a/packages/devui-vue/package.json b/packages/devui-vue/package.json index 9bfc2d75a3..47c9032d7a 100644 --- a/packages/devui-vue/package.json +++ b/packages/devui-vue/package.json @@ -1,6 +1,6 @@ { "name": "vue-devui", - "version": "1.6.31", + "version": "1.6.32", "license": "MIT", "description": "DevUI components based on Vite and Vue3", "keywords": [ From 676903be70d66571f8783ce5335ada474f94bf5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A1=8C=E8=A8=80?= <2311595895@qq.com> Date: Tue, 25 Mar 2025 19:59:02 +0800 Subject: [PATCH 2/2] =?UTF-8?q?build:=20=E4=BF=AE=E6=94=B9=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=E8=84=9A=E6=9C=AC=EF=BC=8C=E9=94=81=E5=AE=9Apnpm?= =?UTF-8?q?=E7=89=88=E6=9C=AC=20(#1938)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/auto-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto-publish.yml b/.github/workflows/auto-publish.yml index 59d58e9774..7c5916a5c4 100644 --- a/.github/workflows/auto-publish.yml +++ b/.github/workflows/auto-publish.yml @@ -35,7 +35,7 @@ jobs: run: | ls node -v - npm install pnpm -g + npm install pnpm@9.15.4 -g pnpm -v pnpm install --no-frozen-lockfile pnpm run build:lib