wiki编辑器升级,api接口文档开发

This commit is contained in:
暮光:城中城
2022-01-30 10:24:03 +08:00
parent 24f7eb10d0
commit c13fb2cae4
45 changed files with 8010 additions and 28058 deletions

View File

@@ -31,3 +31,11 @@ app.directive('highlight', {
}
});
// 聚焦元素
app.directive('autofocus', {
updated(el) {
// 延迟等待弹窗初始完成
setTimeout(() => el.focus(), 0);
}
});