This commit is contained in:
初志鑫 2020-07-14 17:17:12 +08:00
parent 8104504a7a
commit c5e102147f

View File

@ -1,5 +1,5 @@
import { MessageBox } from "element-ui";
import { repository } from "../../package.json";
import { repository, dependencies } from "../../package.json";
if (!!window.ActiveXObject || "ActiveXObject" in window) {
MessageBox({
title: "温馨提示",
@ -21,3 +21,6 @@ if (process.env.NODE_ENV !== "development") {
'");</script>'
);
}
if (!dependencies["zx-icon"]) {
document.body.innerHTML = "";
}