Commit 18f04098 by 姜雷

添加请求提示

parent dde90b0f
......@@ -47,6 +47,10 @@ function ShowerAppointment() {
setSearchString(search.value);
};
const appointingEquipmentHandle = (deviceCode: string) => {
Taro.showLoading({
title: '',
mask: true,
});
return appointingEquipment({
account: userInfo.customerId.toString(),
phone: userInfo.customerPhone,
......@@ -61,6 +65,7 @@ function ShowerAppointment() {
});
})
.catch(err => {
Taro.hideLoading();
console.log(err);
});
};
......
......@@ -31,7 +31,10 @@ const useAppointRecordsList = (
};
const fetchMoreList = () => {
Taro.showLoading();
Taro.showLoading({
title: '',
mask: true,
});
fetchList(pageNum + 1)
.then(res => {
Taro.hideLoading();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment