mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-09-05 06:04:35 +08:00
fix: Optimize tamper-protected File deletion warning messages (#10230)
This commit is contained in:
parent
c5d403f10a
commit
66465beb39
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ class RequestHttp {
|
|||
if (data.code && data.code !== ResultEnum.SUCCESS) {
|
||||
if (data.message.toLowerCase().indexOf('operation not permitted') !== -1) {
|
||||
MsgError(i18n.global.t('license.tamperHelper'));
|
||||
return data;
|
||||
return Promise.reject(data);
|
||||
}
|
||||
MsgError(data.message);
|
||||
return Promise.reject(data);
|
||||
|
|
Loading…
Add table
Reference in a new issue