zydx-plus 1.35.546 → 1.35.547

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zydx-plus",
3
- "version": "1.35.546",
3
+ "version": "1.35.547",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -39,8 +39,8 @@
39
39
  <div class="magnifier-head">
40
40
  <div class="magnifier-title">拓展阅读</div>
41
41
  <div class="magnifier-icon">
42
- <img @click.stop="annotationTap(item,'add')" src="../img/qubiezhen.svg" alt="" />
43
- <img @click.stop="annEmpty(item.list)" src="../img/shanchu.svg" alt="" />
42
+ <img v-if="rightClick&&!readOnly" @click.stop="annotationTap(item,'add')" src="../img/qubiezhen.svg" alt="" />
43
+ <img v-if="!readOnly" @click.stop="annEmpty(item.list)" src="../img/shanchu.svg" alt="" />
44
44
  <img @click.stop="extendRightDel" src="../img/guanbi.svg" alt="" />
45
45
  </div>
46
46
  </div>
@@ -93,8 +93,8 @@
93
93
  <div class="magnifier-head">
94
94
  <div class="magnifier-title">拓展阅读</div>
95
95
  <div class="magnifier-icon">
96
- <img @click.stop="annotationTap(item,'add')" src="../img/qubiezhen.svg" alt="" />
97
- <img @click.stop="annEmpty(item.list)" src="../img/shanchu.svg" alt="" />
96
+ <img v-if="rightClick&&!readOnly" @click.stop="annotationTap(item,'add')" src="../img/qubiezhen.svg" alt="" />
97
+ <img v-if="!readOnly" @click.stop="annEmpty(item.list)" src="../img/shanchu.svg" alt="" />
98
98
  <img @click.stop="extendRightDel" src="../img/guanbi.svg" alt="" />
99
99
  </div>
100
100
  </div>
@@ -302,6 +302,10 @@ export default {
302
302
  rightClick: {
303
303
  type: Boolean,
304
304
  default: true
305
+ },
306
+ readOnly: {
307
+ type: Boolean,
308
+ default: false
305
309
  }
306
310
  },
307
311
  watch: {
package/src/index.js CHANGED
@@ -89,7 +89,7 @@ function install(app) {
89
89
  }
90
90
 
91
91
  export default {
92
- version: '1.35.546',
92
+ version: '1.35.547',
93
93
  install,
94
94
  Calendar,
95
95
  Message,