fix: 增加 getNode 兼容接口

This commit is contained in:
mario.gk 2020-07-26 13:55:48 +08:00
parent 24e95ea6bb
commit 5b6792fcb0

View File

@ -224,6 +224,13 @@ export class SettingTopEntry implements SettingEntry {
getPage() {
return this.first.document;
}
/**
* @deprecated
*/
getNode() {
return this.nodes[0];
}
}
interface Purgeable {