zydx-plus 1.32.221 → 1.32.222

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.221",
3
+ "version": "1.32.222",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -19,7 +19,7 @@
19
19
  @click="choiceTap(item,index)"
20
20
  :disabled="!item.choice"
21
21
  :style="{border: !item.choice?'1px solid #ccc': '1px solid #000'}">
22
- {{ choiceState? '选择题目' : item.choice?'撤销选择': '选择题目' }}
22
+ {{ choiceState? choiceText.choice : item.choice?choiceText.cancel: choiceText.choice }}
23
23
  </button>
24
24
  </b>
25
25
  <b :style="{right: -item.right + 'px', top: item.top + 'px'}" v-if="collapse" ref="b">
@@ -131,6 +131,13 @@ export default {
131
131
  type: Boolean,
132
132
  default: false
133
133
  },
134
+ choiceText: {
135
+ type: Object,
136
+ default: {
137
+ choice: '选择题目',
138
+ cancel: '撤销选择'
139
+ }
140
+ },
134
141
  titleText: {
135
142
  type: String,
136
143
  default: '材料'
package/src/index.js CHANGED
@@ -79,7 +79,7 @@ function install(app) {
79
79
  }
80
80
 
81
81
  export default {
82
- version: '1.32.221',
82
+ version: '1.32.222',
83
83
  install,
84
84
  Calendar,
85
85
  Message,