zydx-plus 1.32.184 → 1.32.185
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
|
@@ -158,6 +158,7 @@ export default {
|
|
|
158
158
|
let arr = []
|
|
159
159
|
v.forEach(item => {
|
|
160
160
|
arr.push({
|
|
161
|
+
...v,
|
|
161
162
|
quesType: item.quesType,
|
|
162
163
|
quesName: item.quesName,
|
|
163
164
|
easyScore: item.easyScore? item.easyScore: '',
|
|
@@ -180,12 +181,16 @@ export default {
|
|
|
180
181
|
}
|
|
181
182
|
},
|
|
182
183
|
// 添加数据
|
|
183
|
-
addData(v) {
|
|
184
|
+
addData(v,n) {
|
|
185
|
+
const len = this.question.length
|
|
186
|
+
n(len)
|
|
187
|
+
if(len === 6) return
|
|
184
188
|
if(this.empty) {
|
|
185
189
|
this.empty = false
|
|
186
190
|
this.question = []
|
|
187
191
|
}
|
|
188
192
|
this.question.push({
|
|
193
|
+
...v,
|
|
189
194
|
quesType: v.quesType,
|
|
190
195
|
quesName: v.quesName,
|
|
191
196
|
easyScore:'',
|