feat: Upload Navbar done.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<div class="flex justify-between items-center flex-wrap" v-show="showNavbarBreadcrumb">
|
||||
<div class="flex flex-1 items-center">
|
||||
<!-- 回 Files 頁 -->
|
||||
<router-link to="/files" class="mr-4" v-if="navViewName !== 'FILES'" id="backPage">
|
||||
<router-link to="/files" class="mr-4" v-if="showIcon" id="backPage">
|
||||
<span class="material-symbols-outlined text-neutral-10 leading-loose">
|
||||
arrow_back
|
||||
</span>
|
||||
@@ -101,6 +101,12 @@ export default {
|
||||
case 'CheckConformance':
|
||||
return this.conformanceFilterTempCheckId || this.conformanceLogTempCheckId ? false : true;
|
||||
}
|
||||
},
|
||||
showIcon: function() {
|
||||
let result = true;
|
||||
if(this.navViewName === 'FILES') result = false;
|
||||
else if(this.navViewName === 'UPLOAD') result = false;
|
||||
return result;
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
@@ -160,9 +166,6 @@ export default {
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case 'UPLOAD':
|
||||
this.showNavbarBreadcrumb = false;
|
||||
break;
|
||||
}
|
||||
// if(this.navViewName === 'DISCOVER') {
|
||||
// if(name === 'Map' || name === 'CheckMap') this.isActive = 'MAP';
|
||||
|
||||
Reference in New Issue
Block a user