chore: 完善 env 未实现时的报错提示

This commit is contained in:
吴多益 2021-11-22 16:50:32 +08:00 committed by GitHub
parent f936777b64
commit f6e59f14db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,