This commit is contained in:
chuzhixin 2020-09-22 18:42:22 +08:00
parent ada62b8b68
commit b905bc74bb
3 changed files with 3 additions and 10 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "vue-admin-beautiful", "name": "vue-admin-beautiful",
"version": "1.0.0", "version": "1.0.0",
"author": "chuzhixin", "author": "chuzhixin 1204505056@qq.com",
"participants": [], "participants": [],
"homepage": "https://chu1204505056.gitee.io/vue-admin-beautiful", "homepage": "https://chu1204505056.gitee.io/vue-admin-beautiful",
"publishConfig": { "publishConfig": {
@ -70,7 +70,7 @@
"vuex": "^3.5.1", "vuex": "^3.5.1",
"zx-comparison": "^1.0.3", "zx-comparison": "^1.0.3",
"zx-count": "^0.3.7", "zx-count": "^0.3.7",
"zx-icon": "^1.1.8", "zx-icon": "^1.1.9",
"zx-keel": "^0.9.4", "zx-keel": "^0.9.4",
"zx-layouts": "^0.6.13", "zx-layouts": "^0.6.13",
"zx-magnifie": "^0.4.0", "zx-magnifie": "^0.4.0",

View File

@ -16,13 +16,6 @@ if (!!window.ActiveXObject || "ActiveXObject" in window) {
dangerouslyUseHTMLString: true, dangerouslyUseHTMLString: true,
}); });
} }
if (process.env.NODE_ENV !== "development" && donation) {
document.writeln(
'<script>console.log("vue-admin-beautiful推广信息如果您不愿意保留可在配置中关闭' +
repository.url.slice(4) +
'");</script>'
);
}
if (!dependencies["zx-icon"] || !dependencies["zx-layouts"]) { if (!dependencies["zx-icon"] || !dependencies["zx-layouts"]) {
document.body.innerHTML = ""; document.body.innerHTML = "";
} }

View File

@ -29,7 +29,7 @@ const time = dayjs().format("YYYY-M-D HH:mm:ss");
const CompressionWebpackPlugin = require("compression-webpack-plugin"); const CompressionWebpackPlugin = require("compression-webpack-plugin");
const productionGzipExtensions = ["html", "js", "css", "svg"]; const productionGzipExtensions = ["html", "js", "css", "svg"];
process.env.VUE_APP_TITLE = title || "vue-admin-beautiful"; process.env.VUE_APP_TITLE = title || "vue-admin-beautiful";
process.env.VUE_APP_AUTHOR = author || "chuzhixin"; process.env.VUE_APP_AUTHOR = author || "chuzhixin 1204505056@qq.com";
process.env.VUE_APP_UPDATE_TIME = time; process.env.VUE_APP_UPDATE_TIME = time;
process.env.VUE_APP_VERSION = version; process.env.VUE_APP_VERSION = version;