update vue3.3
web编辑 修正筛选删除导出逻辑
This commit is contained in:
1 parent
e173e3196d
commit
1b6c8f5b2f
12 files changed
+130
-100
No files matched your search
@@ -15,11 +15,12 @@
|
||||
|
||||
<script setup>
|
||||
import { Edit } from "@element-plus/icons-vue";
|
||||
import { getSourceUniqueKey } from "@/utils/souce";
|
||||
|
||||
const props = defineProps(["source"]);
|
||||
const store = useSourceStore();
|
||||
const { savedSourcesMap, currentSourceUrl, sourceUrlKey } = storeToRefs(store);
|
||||
const sourceUrl = computed(() => props.source[sourceUrlKey.value]);
|
||||
const { savedSourcesMap, currentSourceUrl } = storeToRefs(store);
|
||||
const sourceUrl = computed(() => getSourceUniqueKey(props.source));
|
||||
const handleSourceClick = (source) => {
|
||||
store.changeCurrentSource(source);
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user