From 9d2f91b5bd4e4bc31410f6469a2832919e215f98 Mon Sep 17 00:00:00 2001 From: fjc <2499842112@qq.com> Date: Wed, 20 Nov 2024 10:44:18 +0800 Subject: [PATCH] 111 --- yuan ma/mp-shop/pages/buy/buy.js | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/yuan ma/mp-shop/pages/buy/buy.js b/yuan ma/mp-shop/pages/buy/buy.js index 035ed1b..8772b92 100644 --- a/yuan ma/mp-shop/pages/buy/buy.js +++ b/yuan ma/mp-shop/pages/buy/buy.js @@ -4,18 +4,6 @@ Page({ data: { goodsData:{} }, - onLoad(options) { - getBuy({ id:options.id }).then(res =>{ - console.log(res.data); - this.setData({ - goodsData:res.data.data[0] - }) - }) - }, - onSubmit(){ - wx.showToast({ - title: '购买完成', - icon:"success" - }) + } }) \ No newline at end of file