From fa64fdc05ac8ab663ab333e271d0b4b6cfd33a38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <752718920@qq.com> Date: Wed, 20 Oct 2021 23:51:09 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=99=E5=95=86=E5=93=81=E5=BD=95=E5=85=A5?= =?UTF-8?q?=E6=8E=A5=E5=A2=9E=E5=8A=A0=E6=96=B0=E6=89=8B=E5=BC=95=E5=AF=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jshERP-web/src/utils/util.js | 3 +-- .../views/material/modules/MaterialModal.vue | 22 +++++++++---------- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/jshERP-web/src/utils/util.js b/jshERP-web/src/utils/util.js index adc959c3..26b3405d 100644 --- a/jshERP-web/src/utils/util.js +++ b/jshERP-web/src/utils/util.js @@ -668,10 +668,9 @@ export function handleIntroJs(module, cur_version) { if (Vue.ls.get('intro_cache_' + module) === cur_version) { return; } - introJs().setOptions({ + introJs(".ant-modal-cust-warp").setOptions({ prevLabel: '← 上一步', nextLabel: '下一步 →', - skipLabel: '跳过', doneLabel: '知道了', exitOnOverlayClick: false //点击空白区域是否关闭提示组件 }).oncomplete(function(){ diff --git a/jshERP-web/src/views/material/modules/MaterialModal.vue b/jshERP-web/src/views/material/modules/MaterialModal.vue index 1f888ac8..88378f98 100644 --- a/jshERP-web/src/views/material/modules/MaterialModal.vue +++ b/jshERP-web/src/views/material/modules/MaterialModal.vue @@ -20,23 +20,23 @@ - + - + - + @@ -67,27 +67,27 @@ - - + data-step="7" data-title="类别" data-intro="类别需要在【商品类别】页面进行录入,录入之后在此处进行调用"> - @@ -96,7 +96,7 @@ - @@ -105,7 +105,7 @@ - @@ -413,7 +413,7 @@ }) this.edit({}); this.$nextTick(() => { - handleIntroJs('material', 12) + handleIntroJs('material', 11) }); }, edit (record) {