Commit 1df3492a by wangchunyang

打印组件调试

parent dd965dce
......@@ -44,6 +44,7 @@
"vue": "2.6.12",
"vue-count-to": "1.0.13",
"vue-cropper": "0.5.5",
"vue-print-nb": "^1.7.5",
"vue-router": "3.4.9",
"vuedraggable": "2.24.3",
"vuex": "3.6.0"
......
......@@ -39,6 +39,8 @@ import DictData from '@/components/DictData'
import PageWrapperSearch from '@/components/Search/PageWrapperSearch.vue'
import PageTitle from '@/components/PageTitle/index.vue'
// 打印组件
import Print from 'vue-print-nb'
// 全局方法挂载
Vue.prototype.getDicts = getDicts
......@@ -61,9 +63,11 @@ Vue.component('ImageUpload', ImageUpload)
Vue.component('ImagePreview', ImagePreview)
Vue.component('PageWrapperSearch', PageWrapperSearch)
Vue.component('PageTitle', PageTitle)
// Vue.component('Print', Print)
Vue.use(directive)
Vue.use(plugins)
Vue.use(Print)
DictData.install()
/**
......
......@@ -17,7 +17,7 @@ const service = axios.create({
// axios中请求配置有baseURL选项,表示请求URL公共部分
baseURL: process.env.VUE_APP_BASE_API,
// 超时
timeout: 10000
timeout: 30000
})
// request拦截器
......
......@@ -127,7 +127,7 @@ referer:
# 防盗链开关
enabled: false
# 允许的域名列表
allowed-domains: localhost,127.0.0.1
allowed-domains: localhost,127.0.0.1,172.19.1.150,http://wms.docmis.cn/
# 防止XSS攻击
xss:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论