src/books/childHealth/view/content/index.vue
@@ -184,7 +184,15 @@ // 删除笔记、高亮、划线 delSign: (data) => { this.delSign(data); } }, // 全文检索 searchBookByKeyword: (keyword) => { return this.searchTextByPage(keyword); }, // 跳转检索结果位置 jumpSearchItem: (data) => { this.searchItemLocation(data); }, }); } @@ -333,6 +341,10 @@ // 渲染标记 renderSign(type, data) { // 父层设置禁止渲染标记时不再进行渲染 if (this.$store.state.qiankun.disableSign) { return false; } const existence = ( this.container ? this.container : document ).querySelector(`[dataid="${data.id}"]`);