v1.9 解决商铺出租按手机号查询bug

This commit is contained in:
wuxw 2025-09-02 11:34:53 +08:00
parent 1597d42000
commit 99ac355704

View File

@ -137,7 +137,7 @@ export default {
async loadOwnerInfo() { async loadOwnerInfo() {
if (!this.formData.tel) return if (!this.formData.tel) return
const {data,total} = await queryOwners({page:1,row:1,communityId:getCommunityId(),tel: this.formData.tel}); const {data,total} = await queryOwners({page:1,row:1,communityId:getCommunityId(),link: this.formData.tel});
if(total>0){ if(total>0){
this.formData.ownerName = data[0].name this.formData.ownerName = data[0].name
this.formData.ownerId = data[0].ownerId this.formData.ownerId = data[0].ownerId