Fix typos: updataFilter, updataConformance, setPrevioiusPage, reallyDeldet, tooken, pageAdimin

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-06 08:43:09 +08:00
parent 6cb08df2e4
commit 79811435de
11 changed files with 55 additions and 55 deletions

View File

@@ -235,7 +235,7 @@
import IconVector from '@/components/icons/IconVector.vue';
import IconList from '@/components/icons/IconList.vue';
import IconGrid from '@/components/icons/IconGrid.vue';
import { renameModal, deleteFileModal, reallyDeldetInformation } from '@/module/alertModal.js';
import { renameModal, deleteFileModal, reallyDeleteInformation } from '@/module/alertModal.js';
export default {
data() {
@@ -335,7 +335,7 @@
/**
* Really deleted information
*/
reallyDeldetData: function() {
reallyDeleteData: function() {
let result = [];
if(this.store.allFiles.length !== 0){
@@ -360,7 +360,7 @@
if(newValue != null) this.compareData = JSON.parse(JSON.stringify(newValue));
}
},
reallyDeldetData: {
reallyDeleteData: {
handler(newValue, oldValue) {
if(newValue.length !== 0 && oldValue.length === 0){
this.showReallyDeldet();
@@ -512,8 +512,8 @@
showReallyDeldet(){
let srt = '';
if(this.reallyDeldetData.length !== 0) {
this.reallyDeldetData.forEach(file => {
if(this.reallyDeleteData.length !== 0) {
this.reallyDeleteData.forEach(file => {
switch (file.type) {
case 'log-check':
case 'filter-check':
@@ -526,7 +526,7 @@
srt += content;
});
}
reallyDeldetInformation(srt, this.reallyDeldetData);
reallyDeleteInformation(srt, this.reallyDeleteData);
srt = '';
},
/**

View File

@@ -77,7 +77,7 @@ export default {
methods: {
...mapActions(PageAdminStore, [
'copyPendingPageToActivePage',
'setPrevioiusPage',
'setPreviousPage',
'clearShouldKeepPreviousPageBoolean',
'setActivePageComputedByRoute',
],),
@@ -137,7 +137,7 @@ export default {
},
// Remember, Swal modal handling is called before beforeRouteUpdate
beforeRouteUpdate(to, from, next) {
this.setPrevioiusPage(from.name);
this.setPreviousPage(from.name);
// 離開 Map 頁時判斷是否有無資料和需要存檔
if ((from.name === 'Map' || from.name === 'CheckMap') && this.tempFilterId) {