mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Fix UserItem.vue
It called toast with argument null.
This commit is contained in:
parent
218cc06b08
commit
ef51a17487
@ -57,10 +57,12 @@ export default defineComponent({
|
|||||||
if (this.config.getSettings) {
|
if (this.config.getSettings) {
|
||||||
this.settings = this.config.getSettings(this.config.item)
|
this.settings = this.config.getSettings(this.config.item)
|
||||||
}
|
}
|
||||||
|
if (this.config.isUserItem) {
|
||||||
Toast.mini(this.removeConfirmTemplate, this.removeIcon, {
|
Toast.mini(this.removeConfirmTemplate, this.removeIcon, {
|
||||||
trigger: 'click',
|
trigger: 'click',
|
||||||
hideOnClick: true,
|
hideOnClick: true,
|
||||||
})
|
})
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async removeItem() {
|
async removeItem() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user