This commit is contained in:
Cindy Chang
2024-07-22 13:20:19 +08:00
parent 56c94f1d80
commit 5407a4e2aa
4 changed files with 20 additions and 64 deletions

View File

@@ -137,7 +137,7 @@ export default {
noShowSaveButton: function() {
return this.navViewName === 'UPLOAD' || this.navViewName === 'COMPARE' ||
this.navViewName === 'ACCOUNT MANAGEMENT' ||
this.activePage === 'PERFORMANCE' ? true : false;
this.activePage === 'PERFORMANCE';
},
...mapState(PageAdminStore, [
'activePage',
@@ -148,18 +148,9 @@ export default {
},
watch: {
'$route':'getNavViewName',
filterName: function(newVal, oldVal) {
filterName: function(newVal,) {
this.filterName = newVal;
},
activePageComputedByRoute (newVal) {
// console.log('activePageComputedByRoute newVal', newVal);
},
activePage: function(newVal){
// console.log('watch activePage', this.activePage);
},
pendingActivePage: function(newVal){
// console.log('watch pendingActivePage', this.pendingActivePage);
},
},
mounted() {
this.handleNavItemBtn();
@@ -175,7 +166,6 @@ export default {
* @param {event} event 選取 Navbar 選項後傳入的值
*/
onNavItemBtnClick(event) {
// console.log('onNavItemBtnClick');
let type;
let fileId;
let isCheckPage;