BUG 30075

This commit is contained in:
aixianling
2022-06-08 14:31:55 +08:00
parent 227990b9cb
commit b95c8cb291

View File

@@ -20,7 +20,7 @@
</AiPagePicker>
</AiItem>
</AiGroup>
<div class="footer" @click="confirm">{{ fromType == 'add' ? '确认添加' : '确认修改' }}</div>
<div class="footer" @click="$u.debounce(confirm)">{{ fromType == 'add' ? '确认添加' : '确认修改' }}</div>
</div>
</template>
@@ -86,7 +86,6 @@ export default {
name: item.name
}
})
uni.showLoading({mask: true})
this.$http.post(`/app/appgirdinfo/addOrUpdateByEw`, {...this.form, girdMemberManageList, girdMemberList}).then((res) => {
if (res?.code == 0) {
this.$u.toast('提交成功')
@@ -97,8 +96,7 @@ export default {
}
}).catch((err) => {
this.$u.toast(err)
}).finally(() => uni.hideLoading())
})
},
getArrayLabel(arr, key = 'name', separation = '') {
return arr?.map(e => e[key])?.join(separation)