Why there is no pop-up prompt after I click submit, and using the editor I can only change from disable to enable, but cannot change enable to disable
if ($result == true) { $status1 = 1; $message = '更新成功'; //return ['status'=>$status1, 'message'=>$message1]; } else { $status1 = 0; $message = '更新失败,请检查'; } // header('Content-Type:application/json'); $ret =['status'=>$status1, 'message'=>$message]; return $ret;