There are still bugs in this place. The problem is not when submitting empty data.
$param = $request->param();
$pwd = (UserModel::get([ 'id'=>$param['id']]))['password'];
//Remove empty data
foreach ( $param as $k=>$v)
k]=$v;
$param = $request->except('password'); $result = UserModel::update($param,$condition);
This is correct