From afe9e2b7a637a07abd85c021317b8006884146f8 Mon Sep 17 00:00:00 2001 From: lannoy0523 <935275025@qq.com> Date: Wed, 8 Jan 2025 16:44:47 +0800 Subject: [PATCH 1/2] =?UTF-8?q?bugfix:op=E4=BB=93=E5=BA=93=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E4=B8=AD=E7=82=B9=E5=87=BB=E7=BC=96=E8=BE=91=E5=BC=82?= =?UTF-8?q?=E5=B8=B8=20#2909?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/repoConfig/components/EditRepoConfigDialog.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/devops-op/src/views/repoConfig/components/EditRepoConfigDialog.vue b/src/frontend/devops-op/src/views/repoConfig/components/EditRepoConfigDialog.vue index 615118d51a..4e57727556 100644 --- a/src/frontend/devops-op/src/views/repoConfig/components/EditRepoConfigDialog.vue +++ b/src/frontend/devops-op/src/views/repoConfig/components/EditRepoConfigDialog.vue @@ -176,7 +176,7 @@ export default { } else { this.cleanValue = this.repoConfig.configuration.settings.cleanupStrategy.cleanupValue } - if (this.repoConfig.configuration.settings.cleanupStrategy.cleanTargets.length === 0) { + if (!this.repoConfig.configuration.settings.cleanupStrategy.cleanTargets || this.repoConfig.configuration.settings.cleanupStrategy.cleanTargets.length === 0) { this.repoConfig.configuration.settings.cleanupStrategy.cleanTargets = [''] } this.data = this.repoConfig.configuration.settings.cleanupStrategy.cleanupValue From 2508a6c14d7911bc3788aafb1e49c32ebfb90221 Mon Sep 17 00:00:00 2001 From: lannoy0523 <935275025@qq.com> Date: Thu, 9 Jan 2025 14:19:46 +0800 Subject: [PATCH 2/2] =?UTF-8?q?feat:=E9=99=90=E5=88=B6=E6=B5=81=E6=B0=B4?= =?UTF-8?q?=E7=BA=BFnode=E7=89=88=E6=9C=AC=20#2909?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/frontend.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml index ff277a86f6..693a5ad265 100644 --- a/.github/workflows/frontend.yml +++ b/.github/workflows/frontend.yml @@ -17,6 +17,12 @@ jobs: steps: - uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: '18' # 或者您需要的其他版本 + - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "::set-output name=dir::$(yarn cache dir)"