修复异常时的提示

pull/526/head v1.6.3.20260520
Karson 2026-05-20 17:59:30 +08:00
parent 63426c0e72
commit 214ff67a55
1 changed files with 1 additions and 1 deletions

View File

@ -476,7 +476,7 @@ class Backend extends Controller
try {
$result = $selectPage->execute($this->request->request());
} catch (\think\Exception $e) {
$this->error($e->getMessage());
$this->error(__($e->getMessage()));
}
return json($result);