|
@@ -84,7 +84,7 @@
|
|
|
</template>
|
|
|
<div class="bwc-more-intp" @click="viewIntp">more</div>
|
|
|
<div class="bwc-footer">
|
|
|
- <button class="bwc-btn" @click="handleColl">
|
|
|
+ <!-- <button class="bwc-btn" @click="handleColl">
|
|
|
<template v-if="!collFlag">
|
|
|
<img
|
|
|
:src="
|
|
@@ -114,7 +114,7 @@
|
|
|
/>
|
|
|
</template>
|
|
|
{{ collFlag ? '已收藏' : '收藏' }}
|
|
|
- </button>
|
|
|
+ </button> -->
|
|
|
<button
|
|
|
v-if="word.detail.new_word.length == 1"
|
|
|
class="bwc-btn bwc-btn2"
|
|
@@ -426,7 +426,7 @@ export default {
|
|
|
}
|
|
|
this.word.detail.mp3Url = this.mp3Url;
|
|
|
console.log(this.word.detail);
|
|
|
- if (_this.word.detail.definition_list) {
|
|
|
+ if (_this.word.detail.definition_list && _this.word.detail.definition_list.length > 0) {
|
|
|
// _this.word.detail.definition_list.forEach((item) => {
|
|
|
if (/^[\u4E00-\u9FA5]+$/.test(_this.word.detail.definition_list)) {
|
|
|
this.defChsArr.push(_this.word.detail.definition_list);
|
|
@@ -435,7 +435,7 @@ export default {
|
|
|
}
|
|
|
// });
|
|
|
}
|
|
|
- _this.checkCollStatus();
|
|
|
+ // _this.checkCollStatus();
|
|
|
},
|
|
|
}, // 如果页面有keep-alive缓存功能,这个函数会触发
|
|
|
};
|