zydx-plus 1.32.221 → 1.32.223
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
|
@@ -329,7 +329,11 @@ export default {
|
|
|
329
329
|
})
|
|
330
330
|
}else {
|
|
331
331
|
this.uploadFile(file,this.uploadImage).then(r => {
|
|
332
|
-
|
|
332
|
+
if (r.code === '200') {
|
|
333
|
+
this.imgHtml(r.data)
|
|
334
|
+
}else {
|
|
335
|
+
this.uploadImage.onFailed(r)
|
|
336
|
+
}
|
|
333
337
|
})
|
|
334
338
|
}
|
|
335
339
|
}else {
|
|
@@ -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?
|
|
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: '材料'
|