mirror of
https://github.com/gedoor/legado.git
synced 2024-07-06 23:47:49 +08:00
优化
This commit is contained in:
parent
53bfea9e67
commit
8a404544b0
@ -41,7 +41,12 @@ const appendDebugMsg = (msg) => {
|
|||||||
};
|
};
|
||||||
const startDebug = async () => {
|
const startDebug = async () => {
|
||||||
printDebug.value = "";
|
printDebug.value = "";
|
||||||
await API.saveSource(store.currentSource);
|
try {
|
||||||
|
await API.saveSource(store.currentSource);
|
||||||
|
} catch (e) {
|
||||||
|
store.debugFinish()
|
||||||
|
throw e
|
||||||
|
}
|
||||||
API.debug(
|
API.debug(
|
||||||
store.currentSourceUrl,
|
store.currentSourceUrl,
|
||||||
searchKey.value || store.searchKey,
|
searchKey.value || store.searchKey,
|
||||||
|
Loading…
Reference in New Issue
Block a user