update vue3.3
web编辑 修正筛选删除导出逻辑
This commit is contained in:
@@ -318,7 +318,7 @@ const saveReadingBookProgressToBrowser = (index, pos) => {
|
||||
* VisibilityChange https://developer.mozilla.org/zh-CN/docs/Web/API/Document/visibilitychange_event
|
||||
* 监听关闭页面 切换tab 返回桌面 等操作
|
||||
* 注意不用监听点击链接导航变化 不对Safari<14.5兼容处理
|
||||
**/
|
||||
**/
|
||||
const onVisibilityChange = () => {
|
||||
if (document.visibilityState == "hidden") {
|
||||
API.saveBookProgressWithBeacon(bookProgress.value);
|
||||
|
||||
@@ -10,13 +10,13 @@ import bookSourceConfig from "@/utils/bookSourceEditConfig.js";
|
||||
import rssSourceConfig from "@/utils/rssSourceEditConfig.js";
|
||||
import "@/assets/main.css";
|
||||
|
||||
const config = ref({});
|
||||
let config;
|
||||
|
||||
if (/bookSource/i.test(location.href)) {
|
||||
config.value = bookSourceConfig;
|
||||
config = bookSourceConfig;
|
||||
document.title = "书源管理";
|
||||
} else {
|
||||
config.value = rssSourceConfig;
|
||||
config = rssSourceConfig;
|
||||
document.title = "订阅源管理";
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user