对接接口成功
This commit is contained in:
parent
4a333db9a7
commit
d07da60e60
@ -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>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user