typo: 系统消息应该是 System.notify

This commit is contained in:
wuduoyi 2021-09-03 10:14:32 +08:00
parent 27a5522a71
commit 837144e735
2 changed files with 2 additions and 2 deletions

View File

@ -190,7 +190,7 @@ export default class PlayGround extends React.Component {
toast[type]
? toast[type](
msg,
type === 'error' ? __('System.error') : __('System.message')
type === 'error' ? __('System.error') : __('System.notify')
)
: console.warn('[Notify]', type, msg),
alert,

View File

@ -170,7 +170,7 @@ export function embed(
toast[type]
? toast[type](
msg,
type === 'error' ? __('System.error') : __('System.message')
type === 'error' ? __('System.error') : __('System.notify')
)
: console.warn('[Notify]', type, msg),
alert,