From d07da60e60ae4bc750deaf59459bd464532d878b Mon Sep 17 00:00:00 2001 From: wangzimeng <3297159934@qq.com> Date: Wed, 30 Jul 2025 18:32:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E6=8E=A5=E5=8F=A3=E6=88=90?= =?UTF-8?q?=E5=8A=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/fabu.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pages/index/fabu.vue b/pages/index/fabu.vue index 49ffec0..210e23b 100644 --- a/pages/index/fabu.vue +++ b/pages/index/fabu.vue @@ -487,7 +487,7 @@ agreeShow.value = true } - function apply() { + async function apply() { if (agreeAdd.value == false) { uni.showToast({ title: '请先同意发布须知', @@ -573,6 +573,12 @@ return } console.log('apply——form:', form.value); + + const res = await sheep.$api.rent.addRent(form.value) + if(res.code == 1){ + console.log('发布成功'); + } + }