fix: 导出excel时未导入config

This commit is contained in:
caoqianming 2023-04-23 08:57:05 +08:00
parent b8d49dd356
commit 73d3724e8e
1 changed files with 2 additions and 1 deletions

View File

@ -263,7 +263,7 @@
import saveDialog from "./ep_form.vue";
import ScBind from "@/components/scBind/index.vue";
import { genTree } from "@/utils/verificate";
import config from "@/config"
export default {
name: "employee",
components: {
@ -509,6 +509,7 @@ export default {
that.cLoading = false;
that.ElLoading.close();
let urls = config.API_URL.slice(0,-4)+res.path;
console.log(urls)
window.open(urls, "_blank");
}).catch(e=>{
that.cLoading = false;