修改部分bug
This commit is contained in:
@ -28,12 +28,12 @@ Page({
|
||||
const { orderNumber, staffUserId } = this.data;
|
||||
|
||||
// 简单校验:非空
|
||||
if (!orderNumber) {
|
||||
return wx.showToast({
|
||||
title: '请输入订单号',
|
||||
icon: 'none'
|
||||
});
|
||||
}
|
||||
// if (!orderNumber) {
|
||||
// return wx.showToast({
|
||||
// title: '请输入订单号',
|
||||
// icon: 'none'
|
||||
// });
|
||||
// }
|
||||
|
||||
// 发起 POST 请求
|
||||
wx.request({
|
||||
|
Reference in New Issue
Block a user