fix: 导出excel时未导入config
This commit is contained in:
parent
b8d49dd356
commit
73d3724e8e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue