Skip to content

Commit 1318e86

Browse files
Single-Dancerchenjiajun79
andauthored
fix(taro-alipay): 支付宝小程序编译button缺少appParameter (#17556)
* fix(taro-alipay): 支付宝小程序编译button缺少appParameter * chore(taro-webpack5-runner): update snapshot * chore(ci): 更新ubuntu版本 --------- Co-authored-by: chenjiajun79 <chenjiajun79@jd.com>
1 parent 615bca0 commit 1318e86

File tree

6 files changed

+8
-3
lines changed

6 files changed

+8
-3
lines changed

.github/workflows/build-rust-binding.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ jobs:
2424
- host: windows-latest
2525
build: pnpm build:binding:release
2626
target: x86_64-pc-windows-msvc
27-
- host: ubuntu-20.04
27+
- host: ubuntu-22.04
2828
target: x86_64-unknown-linux-gnu
2929
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian
3030
build: |-
3131
set -e &&
32-
corepack prepare pnpm@9.15.4 --activate &&
32+
npm install -g corepack@0.31.0 &&
3333
pnpm build:binding:release --target x86_64-unknown-linux-gnu &&
3434
strip crates/native_binding/*.node
35-
- host: ubuntu-20.04
35+
- host: ubuntu-22.04
3636
target: x86_64-unknown-linux-musl
3737
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
3838
build: set -e && pnpm build:binding:release && strip crates/native_binding/*.node

packages/taro-alipay/src/components.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ export const components = {
4040
Button: {
4141
scope: '',
4242
'public-id': '',
43+
'app-parameter': '',
4344
bindGetAuthorize: '',
4445
bindError: '',
4546
bindGetUserInfo: '',

packages/taro-mini-runner/src/__tests__/__snapshots__/alipay.spec.ts.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -609,6 +609,7 @@ require("./taro");
609609
Button: {
610610
scope: "",
611611
"public-id": "",
612+
"app-parameter": "",
612613
bindGetAuthorize: "",
613614
bindError: "",
614615
bindGetUserInfo: "",

packages/taro-mini-runner/src/__tests__/__snapshots__/tabbar.spec.ts.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -609,6 +609,7 @@ require("./taro");
609609
Button: {
610610
scope: "",
611611
"public-id": "",
612+
"app-parameter": "",
612613
bindGetAuthorize: "",
613614
bindError: "",
614615
bindGetUserInfo: "",

packages/taro-webpack5-runner/src/__tests__/__snapshots__/mini-platform.spec.ts.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -578,6 +578,7 @@ require("./runtime");
578578
Button: {
579579
scope: "",
580580
"public-id": "",
581+
"app-parameter": "",
581582
bindGetAuthorize: "",
582583
bindError: "",
583584
bindGetUserInfo: "",

packages/taro-webpack5-runner/src/__tests__/__snapshots__/tabbar.spec.ts.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2632,6 +2632,7 @@ require("./runtime");
26322632
Button: {
26332633
scope: "",
26342634
"public-id": "",
2635+
"app-parameter": "",
26352636
bindGetAuthorize: "",
26362637
bindError: "",
26372638
bindGetUserInfo: "",

0 commit comments

Comments
 (0)