Skip to content

Commit 5fde99c

Browse files
committed
feat: 文件保存后, 拉取最新同步配置数据
1 parent e319c91 commit 5fde99c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sub-store-front-end",
3-
"version": "2.15.6",
3+
"version": "2.15.7",
44
"private": true,
55
"scripts": {
66
"dev": "vite --host",

src/views/FileEditor.vue

+2
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,7 @@
378378
</template>
379379

380380
<script lang="ts" setup>
381+
import { useArtifactsStore } from "@/store/artifacts";
381382
import logoIcon from "@/assets/icons/logo.png";
382383
import logoRedIcon from "@/assets/icons/logo-red.png";
383384
import { useSubsApi } from "@/api/subs";
@@ -710,6 +711,7 @@ const submit = () => {
710711
await subsStore.updateOneData("files", configName);
711712
} else {
712713
await subsStore.fetchSubsData();
714+
await useArtifactsStore().fetchArtifactsData();
713715
}
714716
}
715717

0 commit comments

Comments
 (0)