zydx-plus 1.18.82 → 1.18.84

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.82",
3
+ "version": "1.18.84",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -88,7 +88,7 @@
88
88
  <script>
89
89
  import lunarYearTool from './sloarToLunar.js'
90
90
  export default {
91
- name: 'Li-Calendar',
91
+ name: 'zydx-calendar',
92
92
  props: {
93
93
  /**
94
94
  * @description 当前时间 yyyy-MM-dd
@@ -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: false
120
124
  }
121
125
  },
122
126
  emits: ['see','complete','update:data'],
package/src/index.js CHANGED
@@ -55,7 +55,7 @@ function install(app) {
55
55
  }
56
56
 
57
57
  export default {
58
- version: '1.18.82',
58
+ version: '1.18.84',
59
59
  install,
60
60
  Calendar,
61
61
  Message,