a1300399510@qq.com 提交于 2023/04/03 -17:20:01
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -31,9 +32,9 @@ export default {
|
||||
allActive: 0,
|
||||
list: [{}],
|
||||
postCollectionState: false, // 收藏的请求的状态
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
methods: {
|
||||
allClick(index) {
|
||||
this.allActive = index
|
||||
@@ -64,6 +65,9 @@ export default {
|
||||
}).then(res => {
|
||||
if (res.code != 200) return
|
||||
this.list[this.allActive].data[k]['iscollection'] = 0
|
||||
this.$Message({
|
||||
|
||||
})
|
||||
this.$forceUpdate()
|
||||
}).finally(() => {
|
||||
this.postCollectionState = false
|
||||
|
||||
Reference in New Issue
Block a user