|
@@ -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 = "";
|
|
|
+}
|