🎨 改变非移动端前端编译目标为 es2021 (#7770)

* chore: target: es2021

* revert

* revert
This commit is contained in:
阿良仔 2023-03-24 20:23:38 +08:00 committed by Liang Ding
parent fcb3151713
commit 26c5e53c53
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
4 changed files with 6 additions and 3 deletions

View file

@ -163,7 +163,7 @@ const renderViewItem = (blocks: IBlock[], title: string, deckType: string) => {
pathArray.splice(0, 1);
blocks.forEach((item: IBlock) => {
if (item.type) {
let hPath
let hPath;
if (deckType === "") {
hPath = getNotebookName(item.box) + getDisplayName(Lute.UnEscapeHTMLStr(item.hPath), false);
} else {

View file

@ -12,7 +12,7 @@ import {Tab} from "./Tab";
import {Model} from "./Model";
import {Editor} from "../editor";
import {Graph} from "./dock/Graph";
import {hasClosestByAttribute, hasClosestByClassName, hasClosestByTag} from "../protyle/util/hasClosest";
import {hasClosestByAttribute, hasClosestByClassName} from "../protyle/util/hasClosest";
import {Constants} from "../constants";
/// #if !BROWSER
import {webFrame, ipcRenderer} from "electron";