Browse Source

答题判断增加支持多选判断

h5_css
蟑螂恶霸 2 years ago
parent
commit
f5c6c0547e
  1. 3
      components/s-video/res-s-video.vue
  2. 3
      components/s-video/s-video.vue
  3. 2
      pages/my/my.vue

3
components/s-video/res-s-video.vue

@ -195,7 +195,8 @@
// //
if(null!=obj) { if(null!=obj) {
// //
if(this.correct.toUpperCase() == obj.channel.slice(0, 1).toUpperCase()) { // if(this.correct.toUpperCase() == obj.channel.slice(0, 1).toUpperCase()) {
if (this.correct.toUpperCase().includes(obj.channel.slice(0, 1).toUpperCase())) {
// //
this.$set(obj, 'choose', 'true'); this.$set(obj, 'choose', 'true');
isCorrect = 1 isCorrect = 1

3
components/s-video/s-video.vue

@ -209,7 +209,8 @@
// //
if (null != obj) { if (null != obj) {
// //
if (this.correct.toUpperCase() == obj.channel.slice(0, 1).toUpperCase()) { // if (this.correct.toUpperCase() == obj.channel.slice(0, 1).toUpperCase()) {
if (this.correct.toUpperCase().includes(obj.channel.slice(0, 1).toUpperCase())) {
// //
this.$set(obj, 'choose', 'true'); this.$set(obj, 'choose', 'true');
isCorrect = 1 isCorrect = 1

2
pages/my/my.vue

@ -57,8 +57,6 @@
this.getMyMedalList() this.getMyMedalList()
this.getChallengeTotal() this.getChallengeTotal()
this.getStatus() this.getStatus()
},
onShow() {
this.page = "my" this.page = "my"
this.name = this.userName; this.name = this.userName;
this.avatar = this.avatarUrl; this.avatar = this.avatarUrl;

Loading…
Cancel
Save