perf: modal and drawer api support chain calls (#5351)
* perf: modal and drawer api support chain calls * fix: typo
This commit is contained in:
@@ -13,8 +13,7 @@ function open() {
|
||||
}
|
||||
|
||||
function handleUpdateTitle() {
|
||||
drawerApi.setState({ title: '外部动态标题' });
|
||||
drawerApi.open();
|
||||
drawerApi.setState({ title: '外部动态标题' }).open();
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user