From 2c3d8e59be00781df78b7e772ff3ae5d4368933e Mon Sep 17 00:00:00 2001 From: wangningbo Date: Tue, 12 Sep 2023 10:43:53 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=E6=B5=8B?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- miniprogram/pages/index/index.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/miniprogram/pages/index/index.ts b/miniprogram/pages/index/index.ts index 508ab8f..d5d6ee3 100644 --- a/miniprogram/pages/index/index.ts +++ b/miniprogram/pages/index/index.ts @@ -47,6 +47,9 @@ Page({ }) }, clickHello() { - console.log('app', app) + var test = [,1,2,3,5] + console.log(test) + var v; + // console.log('app', app) } }) From 8ae39d75e58b5e662174099cb512d16ee889558f Mon Sep 17 00:00:00 2001 From: wangningbo Date: Tue, 12 Sep 2023 10:46:26 +0800 Subject: [PATCH 2/2] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/cr.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/cr.yml diff --git a/.github/workflows/cr.yml b/.github/workflows/cr.yml new file mode 100644 index 0000000..5b8bad4 --- /dev/null +++ b/.github/workflows/cr.yml @@ -0,0 +1,22 @@ +name: Code Review + +permissions: + contents: read + pull-requests: write + +on: + pull_request: + types: [opened, reopened] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: wangsanshao/chatgpt-cr@main + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} + OPENAI_API_ENDPOINT: https://api.aiproxy.io/v1 + # optional + LANGUAGE: Chinese + PROMPT: \ No newline at end of file