|
|
@@ -88,7 +88,10 @@ function htAdd(){
|
|
|
})
|
|
|
return;
|
|
|
}
|
|
|
-
|
|
|
+ uni.showLoading({
|
|
|
+ title: '新增中...',
|
|
|
+ mask: true
|
|
|
+ });
|
|
|
const opt = {
|
|
|
realName: formData.realName,
|
|
|
userName: formData.userName,
|
|
|
@@ -103,6 +106,8 @@ function htAdd(){
|
|
|
goback2();
|
|
|
emits('success')
|
|
|
}
|
|
|
+ }).finally(()=>{
|
|
|
+ uni.hideLoading()
|
|
|
})
|
|
|
}
|
|
|
|