zydx-plus 1.35.627 → 1.35.628
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 +1 -1
- package/src/components/seek/src/word.vue +4 -8
- package/src/index.js +1 -1
package/package.json
CHANGED
|
@@ -102,10 +102,6 @@ export default {
|
|
|
102
102
|
isLook: { // 题库资源中,查看试题true,创建试题false(新版题库类资源-选择题编辑状态时,试题选项只在编辑框中显示此时isLook: false)
|
|
103
103
|
type: Boolean,
|
|
104
104
|
default: true
|
|
105
|
-
},
|
|
106
|
-
single: { // 后排按钮单选
|
|
107
|
-
type: Boolean,
|
|
108
|
-
default: false
|
|
109
105
|
}
|
|
110
106
|
},
|
|
111
107
|
watch: {
|
|
@@ -142,12 +138,12 @@ export default {
|
|
|
142
138
|
},
|
|
143
139
|
customButTap(e,d) {
|
|
144
140
|
if(e.key === 'option') d.open = !d.open
|
|
145
|
-
if(
|
|
141
|
+
if(e.single) {
|
|
146
142
|
if(!e.active) {
|
|
147
143
|
this.value.forEach(x => {
|
|
148
|
-
x.customBut
|
|
149
|
-
|
|
150
|
-
|
|
144
|
+
// 把x.customBut里single是true的active设置成false
|
|
145
|
+
const singleBut = x.customBut.filter(y => y.single)
|
|
146
|
+
if(singleBut) singleBut.forEach(y => y.active = false)
|
|
151
147
|
})
|
|
152
148
|
}
|
|
153
149
|
e.active = !e.active
|