diff --git a/ruoyi-ui/src/main.js b/ruoyi-ui/src/main.js index 7c5d08bf0011f83218557ccb89df22ed971da288..0855dd34e2f5635488893063e5e19bd86cce6a5b 100644 --- a/ruoyi-ui/src/main.js +++ b/ruoyi-ui/src/main.js @@ -34,6 +34,9 @@ Vue.prototype.selectDictLabels = selectDictLabels Vue.prototype.download = download Vue.prototype.handleTree = handleTree +// 解决edge浏览器localStorage获取item为null, 导致打开 审批进度 无法展示, 请求连接404的问题 +localStorage.setItem("VUE_APP_BASE_API", process.env.VUE_APP_BASE_API) + Vue.prototype.msgSuccess = function (msg) { this.$message({ showClose: true, message: msg, type: "success" }); }