对接接口成功

This commit is contained in:
wangzimeng 2025-07-30 18:32:55 +08:00
parent 4a333db9a7
commit d07da60e60

View File

@ -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('发布成功');
}
}
</script>