From 5c45854e2ce17a6ea00aeb4309efadf2b708b4db Mon Sep 17 00:00:00 2001 From: Huakk <1751826683@qq.com> Date: Thu, 6 Jun 2024 21:12:44 +0800 Subject: [PATCH] =?UTF-8?q?fix(custom):=20=E4=BF=AE=E5=A4=8D=E8=8B=A5?= =?UTF-8?q?=E5=B9=B2bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 7 ++++--- src/pages/admin/withdrawal/index.vue | 11 +++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 1c484d6..898bae4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jdt-user", - "version": "4.0.0", + "version": "4.0.1", "private": true, "description": "", "templateInfo": { @@ -9,7 +9,7 @@ "css": "sass" }, "taroConfig": { - "version": "4.0.0" + "version": "4.0.1" }, "scripts": { "build:weapp": "taro build --type weapp", @@ -118,5 +118,6 @@ "vue-loader": "^17.3.1", "weapp-tailwindcss": "^3.2.0", "webpack": "^5.89.0" - } + }, + "packageManager": "pnpm@9.1.4+sha512.9df9cf27c91715646c7d675d1c9c8e41f6fce88246f1318c1aa6a1ed1aeb3c4f032fcdf4ba63cc69c4fe6d634279176b5358727d8f2cc1e65b65f43ce2f8bfb0" } diff --git a/src/pages/admin/withdrawal/index.vue b/src/pages/admin/withdrawal/index.vue index a6a691c..4cda95e 100644 --- a/src/pages/admin/withdrawal/index.vue +++ b/src/pages/admin/withdrawal/index.vue @@ -8,6 +8,7 @@ const user_info = ref({}); const mer_info = ref({}); const row = ref(0); +const str = ref(0); const formRef = ref(); @@ -48,6 +49,7 @@ const getData = async () => { data.value.push(...res.data.data); pagination.value.total = res.data.total; row.value = res.data.integral || 0; + str.value = res.data.number || 0; } catch (e) { throw e; } @@ -79,7 +81,6 @@ const rules = ref({ { message: '请填写提现积分', validator: (value, _) => { - console.log(value); if (!value) { return false; } else { @@ -147,9 +148,7 @@ Taro.useReachBottom(() => { - {{ - (row / 100 - (row / 100) * 0.138).toFixed(2) - }} + {{ str }} 实际到账 @@ -166,12 +165,12 @@ Taro.useReachBottom(() => { 积分提现 - +