From 38b6eb62d4a6c3acb38157d9b2d23e5f0383b3b3 Mon Sep 17 00:00:00 2001 From: lc <15038716315@163.com> Date: Wed, 17 Apr 2024 09:08:56 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E7=AE=A1=E7=90=86=E7=94=9F?= =?UTF-8?q?=E6=88=90=E4=BA=8C=E7=BB=B4=E7=A0=81=E6=B7=BB=E5=8A=A0=E6=89=93?= =?UTF-8?q?=E5=8D=B0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.js | 3 +- src/views/abuwx/wxuser/project.vue | 66 +++++++++++++++++++++++++++--- 2 files changed, 62 insertions(+), 7 deletions(-) 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 @@ +