diff --git a/src/main.js b/src/main.js index 13c6cf2..f68839e 100644 --- a/src/main.js +++ b/src/main.js @@ -37,7 +37,7 @@ import DictTag from '@/components/DictTag' import VueMeta from 'vue-meta' // 字典数据组件 import DictData from '@/components/DictData' - +import Print from 'vue-print-nb' // 全局方法挂载 Vue.prototype.getDicts = getDicts Vue.prototype.getConfigKey = getConfigKey @@ -61,6 +61,7 @@ Vue.component('ImagePreview', ImagePreview) Vue.use(directive) Vue.use(plugins) Vue.use(VueMeta) +Vue.use(Print); DictData.install() /** diff --git a/src/views/abuwx/wxuser/project.vue b/src/views/abuwx/wxuser/project.vue index d7c6f1e..5028e85 100644 --- a/src/views/abuwx/wxuser/project.vue +++ b/src/views/abuwx/wxuser/project.vue @@ -76,14 +76,17 @@ - 项目名称:{{ this.titles }} + + 项目名称:{{ this.titles }} - + + + - { - codeOpen = false - }">确定 + { codeOpen = false }">确定 + 下载二维码 + @@ -91,6 +94,7 @@ +