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