zydx-plus 1.35.628 → 1.35.629

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.628",
3
+ "version": "1.35.629",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -118,6 +118,10 @@ export default {
118
118
  this.list = this.organize(this.value)
119
119
  },
120
120
  methods: {
121
+ // 外部选项保存成功调用显示'修改选项'
122
+ changeButtonsShowState () {
123
+ this.isHasOption = true
124
+ },
121
125
  modifyOption () {
122
126
  this.isHasOption = false
123
127
  },
@@ -148,6 +148,10 @@ export default {
148
148
  serial: {
149
149
  type: Boolean,
150
150
  default: true
151
+ },
152
+ length: {
153
+ type: Number,
154
+ default: 6
151
155
  }
152
156
  },
153
157
  watch: {
@@ -232,7 +236,7 @@ export default {
232
236
  addData(v, n) {
233
237
  const len = this.question.length
234
238
  if (n) n(len)
235
- if (len === 6) return
239
+ if (len >= this.length) return
236
240
  if (this.empty) {
237
241
  this.empty = false
238
242
  this.question = []
package/src/index.js CHANGED
@@ -87,7 +87,7 @@ function install(app) {
87
87
  }
88
88
 
89
89
  export default {
90
- version: '1.35.628',
90
+ version: '1.35.629',
91
91
  install,
92
92
  Calendar,
93
93
  Message,