fix(web/sourceeditor): update el-checkbox usage; fix reactivity bugs;update isbooksource regex

This commit is contained in:
Xwite
2024-10-03 16:32:13 +08:00
parent 2295b8bded
commit 1ed7d74c97
7 changed files with 16 additions and 8 deletions
+6 -1
View File
@@ -60,7 +60,12 @@
<script setup>
const store = useSourceStore();
defineProps(["config"]);
const currentSource = store.currentSource;
const currentSource = computed(() => store.currentSource);
/*
修改currentSource的属性 没有直接修改本身
const { currentSource } = storeToRefs(store);
*/
</script>
<style lang="scss" scoped>