设计页下载中心隐藏
This commit is contained in:
@@ -116,7 +116,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, computed, onMounted, createVNode } from "vue";
|
||||
import { ref, computed, onMounted, createVNode,nextTick } from "vue";
|
||||
import { useRouter, useRoute } from "vue-router";
|
||||
import useEmitter from "@/composables/useEmitter";
|
||||
import { publishSurvey, getSurveyInfo } from "@/api/publish";
|
||||
@@ -220,6 +220,10 @@ const showLoading = computed(() => {
|
||||
return false;
|
||||
});
|
||||
const toPage = (path, title) => {
|
||||
showxiazai.value=null
|
||||
if(path!='/survey/planet'){
|
||||
showxiazai.value=true
|
||||
}
|
||||
router.push({
|
||||
path,
|
||||
query: route.query,
|
||||
@@ -344,10 +348,10 @@ const toDownload = () => {
|
||||
// query: { path: route.path, sn },
|
||||
// });
|
||||
};
|
||||
const showxiazai=ref(null)
|
||||
const showxiazai=ref(true)
|
||||
onMounted(() => {
|
||||
if(route.path!='/survey/planet/design'){
|
||||
showxiazai.value=true
|
||||
if(route.path=='/survey/planet/design'){
|
||||
showxiazai.value=false
|
||||
}
|
||||
fetchInfo();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user