zydx-plus 1.32.275 → 1.32.276

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.32.275",
3
+ "version": "1.32.276",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -54,6 +54,9 @@
54
54
  <button class="but" :class="{'buts-actives': item.review}"
55
55
  @click="review(index)">{{ item.review ? reasoningBut[1].startName : reasoningBut[1].endName }}</button>
56
56
  </b>
57
+ <b :style="{right: -item.right + 'px', top: item.top + 'px'}" v-if="customBut.length > 0" ref="b">
58
+ <button class="but" v-for="(item,index) in customBut" :class="{'buts-actives': item.active}" @click="item.onClick(item)">{{ item.name }}</button>
59
+ </b>
57
60
  </i>
58
61
  </span>
59
62
  </div>
@@ -217,6 +220,10 @@ export default {
217
220
  nothing: {
218
221
  type: Boolean,
219
222
  default: false
223
+ },
224
+ customBut:{
225
+ type: Array,
226
+ default: []
220
227
  }
221
228
  },
222
229
  watch: {
package/src/index.js CHANGED
@@ -79,7 +79,7 @@ function install(app) {
79
79
  }
80
80
 
81
81
  export default {
82
- version: '1.32.275',
82
+ version: '1.32.276',
83
83
  install,
84
84
  Calendar,
85
85
  Message,