fix(custom): 修复若干bug

This commit is contained in:
2023-12-04 21:31:04 +08:00
parent 1499f25121
commit 4bfc3539bc
4 changed files with 5 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "jdt-user", "name": "jdt-user",
"version": "3.0.1", "version": "3.0.2",
"private": true, "private": true,
"description": "", "description": "",
"templateInfo": { "templateInfo": {
@@ -9,7 +9,7 @@
"css": "sass" "css": "sass"
}, },
"taroConfig": { "taroConfig": {
"version": "3.0.1" "version": "3.0.2"
}, },
"scripts": { "scripts": {
"build:weapp": "taro build --type weapp", "build:weapp": "taro build --type weapp",

View File

@@ -121,7 +121,7 @@ const add = async () => {
icon: "none", icon: "none",
}); });
const res = await addWithdraw({ const res = await addWithdraw({
Bid: user_info.bid, Bid: user_info.data.bid,
Number: Number(basicData.value.num), Number: Number(basicData.value.num),
}); });
Taro.showToast({ Taro.showToast({

View File

@@ -28,7 +28,7 @@ const getData = async () => {
const mey_type = Taro.getStorageSync("mer_type"); const mey_type = Taro.getStorageSync("mer_type");
const user_info = Taro.getStorageSync("userInfo"); const user_info = Taro.getStorageSync("userInfo");
const res = await productList({ const res = await productList({
bid: user_info.bid, bid: user_info.data.bid,
BType: mey_type, BType: mey_type,
}); });
console.log(res); console.log(res);

View File

@@ -1,7 +1,7 @@
<script lang="ts" setup> <script lang="ts" setup>
import Taro from "@tarojs/taro"; import Taro from "@tarojs/taro";
import { ref } from "vue"; import { ref } from "vue";
import { getPersonalInfo, editPersonalInfo } from "@/api/user"; import { editPersonalInfo } from "@/api/user";
import { View } from "@tarojs/components"; import { View } from "@tarojs/components";
import { BASE_URL } from "@/utils/request"; import { BASE_URL } from "@/utils/request";