更新下载中心、交叉分析bug

This commit is contained in:
王博冉
2022-10-11 17:50:02 +08:00
parent d95d4caed3
commit 0f08cc6880
18 changed files with 123 additions and 67 deletions

View File

@@ -107,8 +107,7 @@
</div>
</a-modal>
<!-- 下载中心 -->
<DownloadCenter v-model:visible="downloadVisible"
v-if="downloadVisible"></DownloadCenter>
<DownloadCenter v-model:visible="downloadVisible" v-if="downloadVisible"></DownloadCenter>
</template>
<script setup>
@@ -314,12 +313,15 @@ const clickEntrance = () => {
};
const groupInfo = ref(null);
const downloadVisible = ref(false);
const downloadVisible = computed(() => {
return store.state.downloadCenter.isShow;
});
// 下载中心
const toDownload = () => {
console.log("下载中心");
store.dispatch('downloadCenter/changeCenterUrl', route.path)
downloadVisible.value = true
// downloadVisible.value = true
store.dispatch('downloadCenter/changeCenterShow',true)
// router.push({
// path: "/downloadCenter",
// query: { path: route.path, sn },