diff --git a/.github/workflows/build-app.yml b/.github/workflows/build-app.yml index bc904c3b..1158aa36 100644 --- a/.github/workflows/build-app.yml +++ b/.github/workflows/build-app.yml @@ -43,17 +43,6 @@ jobs: fi # 获取版本号 echo VERSION=$(node -p "require('./package.json').version") >> $GITHUB_OUTPUT - # 设置 Node.js 版本 - - name: Load Node.js - uses: actions/setup-node@v4 - with: - node-version: 18.x - # 更新依赖 - - name: Install - run: yarn - # 代码检查 - - name: Lint - run: yarn lint # ========================= 构建 Web 版本 ========================= build-pages: diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml new file mode 100644 index 00000000..664bd546 --- /dev/null +++ b/.github/workflows/pr-check.yml @@ -0,0 +1,28 @@ +# 在主分支上构建 +name: lint +on: + pull_request: # PR 触发 + branches: + - next + +jobs: + lint: + runs-on: ubuntu-latest + steps: + # 拉取代码 + - name: Checkout + uses: actions/checkout@v4 + with: + submodules: recursive + persist-credentials: false + # 设置 Node.js 版本 + - name: Load Node.js + uses: actions/setup-node@v4 + with: + node-version: 18.x + # 更新依赖 + - name: Install + run: yarn + # 代码检查 + - name: Lint + run: yarn lint \ No newline at end of file diff --git a/package.json b/package.json index b8dab9bc..255e7ed4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "stapxs-qq-lite", - "version": "2.7.17", + "version": "2.7.18", "private": false, "author": "Stapx Steve [林槐]", "description": "一个兼容 OneBot 的非官方网页版 QQ 客户端,使用 Vue 重制的全新版本。", diff --git a/src/App.vue b/src/App.vue index ea1c362b..7d286a3a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -257,7 +257,6 @@ export default defineComponent({ this.tags.page = view }, barMainClick() { - console.log(1111) if(loginInfo.status) { this.changeTab('信息', 'Messages', false) } else { diff --git a/src/components/AboutPan.vue b/src/components/AboutPan.vue index 258d254c..46907726 100644 --- a/src/components/AboutPan.vue +++ b/src/components/AboutPan.vue @@ -25,9 +25,9 @@ {{ $t('description') }} v{{ packageInfo.version }}
- {{ + {{ $t('option_info_visit_github') }} - +
@@ -127,12 +127,14 @@