fix: web书籍部分图片加载失败

This commit is contained in:
Xwite
2023-04-16 20:13:45 +08:00
parent 3aafda8ac0
commit 20fc74078e
12 changed files with 61 additions and 63 deletions
+6 -6
View File
@@ -11,12 +11,12 @@
</template>
<script setup>
const { source } = defineProps(['source'])
const store = useSourceStore()
const { errorPushSources } = storeToRefs(store)
const handleSourceClick = source => {
store.changeCurrentSource(source)
}
defineProps(["source"]);
const store = useSourceStore();
const { errorPushSources } = storeToRefs(store);
const handleSourceClick = (source) => {
store.changeCurrentSource(source);
};
</script>
<style lang="scss" scoped>
.error {