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

@@ -36,7 +36,7 @@ export default defineStore('conformanceStore', {
isStartSelected: null, // start & end 連動先選擇 start
isEndSelected: null, // start & end 連動先選擇 end
conformanceRuleData: null, // create checkId's data to save
isUpdataConformance: false, // 成功儲存後要跳 Modal
isUpdateConformance: false, // 成功儲存後要跳 Modal
conformanceFileName: null, // 儲存成功的 Modal 用
}),
getters: {
@@ -436,9 +436,9 @@ export default defineStore('conformanceStore', {
};
},
/**
* Updata an Existing Conformance Check, log and filter
* Update an Existing Conformance Check, log and filter
*/
async updataConformance() {
async updateConformance() {
let logCreateCheckId = this.conformanceLogCreateCheckId;
let filterCreateCheckId = this.conformanceFilterCreateCheckId;
let api = '';
@@ -450,11 +450,11 @@ export default defineStore('conformanceStore', {
try {
const response = await this.$axios.put(api, data);
this.isUpdataConformance = response.status === 200;
this.isUpdateConformance = response.status === 200;
this.conformanceLogTempCheckId = null;
this.conformanceFilterTempCheckId = null;
}catch(error) {
apiError(error, 'Failed to updata an Existing Conformance.');
apiError(error, 'Failed to update an Existing Conformance.');
}
},
/**