fix(other): bug修复
Some checks failed
CI Build & Upload (WeApp) / build-upload-dev (push) Failing after 2m31s
CI Build & Upload (WeApp) / build-upload-prod (push) Has been skipped
CI Build & Upload (WeApp) / build-upload-reserve (push) Has been skipped

This commit is contained in:
2026-01-10 21:30:50 +08:00
parent 2c38893c43
commit 5c0036acfd
5 changed files with 10 additions and 6 deletions

View File

@@ -39,7 +39,7 @@ jobs:
ACTOR: ${{ gitea.actor }}
COMMIT_MSG: ${{ gitea.event.head_commit.message }}
run: |
apk add --no-cache curl jq
sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && apk add --no-cache curl jq
EMOJI=$( [ "$STATUS" = "success" ] && echo "✅ 构建成功" || echo "❌ 构建失败" )
MSG="$(printf "%s\n**项目**: %s (构建 #%s)\n**分支**: %s\n**提交**: %s\n**作者**: %s\n**信息**: %s\n**详情**: [查看构建详情](%s)" \
"$EMOJI" "$REPO" "${{ gitea.run_number }}" "$BRANCH" "$COMMIT" "$ACTOR" "$(echo "$COMMIT_MSG" | tr '\n' ' ' | tr -s ' ')" "$RUN_URL")"
@@ -78,7 +78,7 @@ jobs:
ACTOR: ${{ gitea.actor }}
COMMIT_MSG: ${{ gitea.event.head_commit.message }}
run: |
apk add --no-cache curl jq
sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && apk add --no-cache curl jq
EMOJI=$( [ "$STATUS" = "success" ] && echo "✅ 构建成功" || echo "❌ 构建失败" )
MSG="$(printf "%s\n**项目**: %s (构建 #%s)\n**分支**: %s\n**提交**: %s\n**作者**: %s\n**信息**: %s\n**详情**: [查看构建详情](%s)" \
"$EMOJI" "$REPO" "${{ gitea.run_number }}" "$BRANCH" "$COMMIT" "$ACTOR" "$(echo "$COMMIT_MSG" | tr '\n' ' ' | tr -s ' ')" "$RUN_URL")"

View File

@@ -1,8 +1,8 @@
{
"name": "jdt-user",
"version": "4.0.17",
"version": "4.0.18",
"taroConfig": {
"version": "4.0.17"
"version": "4.0.18"
},
"scripts": {
"build:weapp": "taro build --type weapp",

View File

@@ -6,6 +6,7 @@ onlyBuiltDependencies:
- core-js
- core-js-pure
- esbuild
- less
- protobufjs
- swiper
- vue-demi

View File

@@ -213,7 +213,7 @@ const confirmPay = async () => {
},
complete: function () {
setTimeout(() => {
Taro.redirectTo({
Taro.reLaunch({
url: `/pages/users/order_list/index?type=0`,
});
}, 2000);

View File

@@ -268,6 +268,9 @@ Taro.useLoad(options => {
type.value = options.type;
oid.value = options.orderId;
tId.value = Number(options.OrderType);
});
Taro.useDidShow(() => {
Taro.getLocation({
type: 'wgs84',
success: res => {
@@ -277,7 +280,7 @@ Taro.useLoad(options => {
});
// goodInfo.value = Taro.getStorageSync('item');
getOrderDetail();
});
})
const getOrderDetail = async () => {
const res = await getActiveOrderDetail({