feat: Performance not show SAVE button done.
This commit is contained in:
@@ -37,8 +37,8 @@
|
||||
<UploadModal :visible="uploadModal" @closeModal="uploadModal = $event"></UploadModal>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Upload, Compare 無按鈕行為 -->
|
||||
<div v-else-if="navViewName === 'UPLOAD' || navViewName === 'COMPARE'"></div>
|
||||
<!-- Upload, Performance, Compare 無按鈕行為 -->
|
||||
<div v-else-if="noShowSaveButton"></div>
|
||||
<!-- Other Page: Save and Download -->
|
||||
<!-- Save 有 data 跳重新命名,沒有 data 跳要不要儲存,沒有動都不跳 -->
|
||||
<div v-else class="space-x-4">
|
||||
@@ -109,6 +109,9 @@ export default {
|
||||
|
||||
result = ['FILES', 'UPLOAD'].includes(this.navViewName) ? false : true;
|
||||
return result;
|
||||
},
|
||||
noShowSaveButton: function() {
|
||||
return this.navViewName === 'UPLOAD' || this.navViewName === 'COMPARE' || this.isActive === 'PERFORMANCE' ? true : false;
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
|
||||
Reference in New Issue
Block a user