diff --git a/jero-web/public/index.html b/jero-web/public/index.html
index cd9912069..9ff236148 100644
--- a/jero-web/public/index.html
+++ b/jero-web/public/index.html
@@ -5,7 +5,7 @@
-
+
+
@@ -139,7 +139,7 @@
import { mapGetters } from 'vuex'
import { kkFileView } from '@/utils/kkfileView'
import { deleteAction } from '../../api/manage'
- import { Dialog, Toast } from 'vant'
+ import { Dialog, ImagePreview, Toast } from 'vant'
export default {
name: 'phoneProblemKnowledgeBase',
@@ -172,6 +172,14 @@
}
})
}
+ this.$nextTick(() => {
+ let contentId = document.getElementById('contentId')
+ contentId.onclick = function(e) {
+ if (e.target.localName == 'img') {
+ ImagePreview([e.target.currentSrc])
+ }
+ }
+ })
window.addEventListener('scroll', this.scrolling)
window.addEventListener('mousedown', this.handleonmousedown)
this.getQueryBy()