zydx-plus 1.18.83 → 1.18.85

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.18.83",
3
+ "version": "1.18.85",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -14,14 +14,14 @@
14
14
  </div>
15
15
  </div>
16
16
  <div class="ed-cont" :style="heightStyleCont">
17
- <div :style="{'border': (readOnly)? '1px solid #ccc': '0'}">
17
+ <div :style="{'border': (readOnly)? '1px solid #ccc': '0'}" v-if="editorShow">
18
18
  <editor-content class="editor" :editor="editor" :style="heightStyleCont" />
19
19
  </div>
20
20
  <div class="editor-but" v-if="butText !== ''&& readOnly">
21
21
  <button class="but" @click="complete">{{ butText }}</button>
22
22
  </div>
23
23
  <div class="enclosure" v-if="uploadAttData.length > 0">
24
- <p>附件列表:</p>
24
+ <p v-if="editorShow">附件列表:</p>
25
25
  <div class="enclosure-list" v-for="(item,index) in uploadAttData">
26
26
  <div class="enclosure-item">
27
27
  <span>{{ index + 1 }}. {{ (uploadType)? item.name : item.fileName }}</span>
@@ -117,6 +117,10 @@ export default {
117
117
  info: {
118
118
  type: String,
119
119
  default: ''
120
+ },
121
+ editorShow: {
122
+ type: Boolean,
123
+ default: true
120
124
  }
121
125
  },
122
126
  emits: ['see','complete','update:data'],
@@ -64,7 +64,12 @@ export default {
64
64
  default: 0
65
65
  }
66
66
  },
67
- methods: {
67
+ watch: {
68
+ actives(val) {
69
+ this.active = val
70
+ }
71
+ },
72
+ methods: {
68
73
  del(data) {
69
74
  this.$emit('del',data)
70
75
  },
package/src/index.js CHANGED
@@ -55,7 +55,7 @@ function install(app) {
55
55
  }
56
56
 
57
57
  export default {
58
- version: '1.18.83',
58
+ version: '1.18.85',
59
59
  install,
60
60
  Calendar,
61
61
  Message,