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