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) {
|
||||
this.settings = this.config.getSettings(this.config.item)
|
||||
}
|
||||
Toast.mini(this.removeConfirmTemplate, this.removeIcon, {
|
||||
trigger: 'click',
|
||||
hideOnClick: true,
|
||||
})
|
||||
if (this.config.isUserItem) {
|
||||
Toast.mini(this.removeConfirmTemplate, this.removeIcon, {
|
||||
trigger: 'click',
|
||||
hideOnClick: true,
|
||||
})
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
async removeItem() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user