mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 03:48:13 +08:00
chore: 完善 env 未实现时的报错提示
This commit is contained in:
parent
f936777b64
commit
f6e59f14db
@ -291,13 +291,13 @@ const defaultOptions: RenderOptions = {
|
|||||||
},
|
},
|
||||||
isCancel() {
|
isCancel() {
|
||||||
console.error(
|
console.error(
|
||||||
'Please implements this. see https://baidu.gitee.io/amis/docs/start/getting-started#%E4%BD%BF%E7%94%A8%E6%8C%87%E5%8D%97'
|
'Please implement isCancel. see https://baidu.gitee.io/amis/docs/start/getting-started#%E4%BD%BF%E7%94%A8%E6%8C%87%E5%8D%97'
|
||||||
);
|
);
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
updateLocation() {
|
updateLocation() {
|
||||||
console.error(
|
console.error(
|
||||||
'Please implements this. see https://baidu.gitee.io/amis/docs/start/getting-started#%E4%BD%BF%E7%94%A8%E6%8C%87%E5%8D%97'
|
'Please implement updateLocation. see https://baidu.gitee.io/amis/docs/start/getting-started#%E4%BD%BF%E7%94%A8%E6%8C%87%E5%8D%97'
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
alert,
|
alert,
|
||||||
|
Loading…
Reference in New Issue
Block a user