mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:39:05 +08:00
typo: 系统消息应该是 System.notify
This commit is contained in:
parent
27a5522a71
commit
837144e735
@ -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