zydx-plus 1.35.568 → 1.35.569

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.568",
3
+ "version": "1.35.569",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -24,7 +24,7 @@
24
24
  </div>
25
25
  </div>
26
26
  </div>
27
- <div class="choice" v-if="item.testKey" v-show="item.open">
27
+ <div class="choice" v-if="item.testKey" v-show="item.open && isLook">
28
28
  <div class="choice-box" v-for="(ts,ind) in item.testKey">
29
29
  <label>
30
30
  <input class="choice-input" style="display: none;" :disabled="disabled" :checked="ts.checked"
@@ -91,7 +91,7 @@ export default {
91
91
  type: Boolean,
92
92
  default: false
93
93
  },
94
- isLook: { // 题库资源中,查看试题true,创建试题false
94
+ isLook: { // 题库资源中,查看试题true,创建试题false(新版题库类资源-选择题编辑状态时,试题选项只在编辑框中显示此时isLook: false)
95
95
  type: Boolean,
96
96
  default: true
97
97
  }
@@ -188,7 +188,9 @@ export default {
188
188
  if(this.value[index]){
189
189
  if(item.resourceId===this.value[index].resourceId){
190
190
  this.value[index].open = item.open
191
- this.value[index].customBut[0].active = item.open
191
+ if (item.quesType === '101' || item.quesType === '102' || item.quesType === '102_1' || item.quesType === '102_2') { // 解决主观题点击完成按钮‘试题设置’按钮收起问题
192
+ this.value[index].customBut[0].active = item.open
193
+ }
192
194
  }
193
195
  }
194
196
  })
package/src/index.js CHANGED
@@ -89,7 +89,7 @@ function install(app) {
89
89
  }
90
90
 
91
91
  export default {
92
- version: '1.35.568',
92
+ version: '1.35.569',
93
93
  install,
94
94
  Calendar,
95
95
  Message,