Поправка бага

This commit is contained in:
Book Pauk
2022-11-01 00:34:30 +07:00
parent d46d153416
commit a38ba2fd9a
2 changed files with 4 additions and 1 deletions

View File

@@ -180,7 +180,7 @@ export default class BaseList {
} else if (action == 'readBook') {
//читать
if (this.list.liberamaReady) {
this.sendMessage({type: 'submitUrl', data: href});
this.$emit('listEvent', {action: 'submitUrl', data: href});
} else {
const url = this.config.bookReadLink.replace('${DOWNLOAD_LINK}', href);
window.open(url, '_blank');