在事件中获取input的内容
var input = e.detail.value; // 获取当前表单元素输入框内容
if(input) {
}else{
wx.showToast({
title:
'不能为空或您未更改',
icon:
'false',
duration:
2000
})
}