mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:39:05 +08:00
Merge pull request #2500 from nwind/typo-system-message
typo: 系统消息应该是 System.notify
This commit is contained in:
commit
3132f81c03
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user