fix ts lint warning: Strings must use singlequote

This commit is contained in:
2025-02-05 17:14:34 +08:00
parent a7788c87be
commit 14191e4f1e
35 changed files with 127 additions and 127 deletions

View File

@@ -30,7 +30,7 @@ import { ref } from 'vue';
// https://quasar.dev/quasar-plugins/notify#Installation
$q.notify({
type: 'negative',
message: `Excelファイルを選択してください。`
message: 'Excelファイルを選択してください。'
})
}
@@ -38,13 +38,13 @@ import { ref } from 'vue';
* ファイルアップロード成功時の処理
*/
function onUploadFinished({xhr}:{xhr:XMLHttpRequest}){
let msg="ファイルのアップロードが完了しました。";
let msg='ファイルのアップロードが完了しました。';
if(xhr && xhr.response){
msg=`${msg} (${xhr.responseText})`;
}
$q.notify({
type: 'positive',
caption:"通知",
caption:'通知',
message: msg
});
setTimeout(() => {
@@ -70,13 +70,13 @@ import { ref } from 'vue';
* @param info ファイルアップロード失敗時の処理
*/
function onFailed({files,xhr}:{files: readonly any[],xhr:XMLHttpRequest}){
let msg ="ファイルアップロードが失敗しました。";
let msg ='ファイルアップロードが失敗しました。';
if(xhr && xhr.status){
const detail = getResponseError(xhr);
msg=`${msg} (${xhr.status }:${detail})`
}
$q.notify({
type:"negative",
type:'negative',
message:msg
});
}
@@ -86,9 +86,9 @@ import { ref } from 'vue';
uploadUrl:string;
}
const headers = ref([{name:"Authorization",value:'Bearer ' + authStore.token}]);
const headers = ref([{name:'Authorization',value:'Bearer ' + authStore.token}]);
const props = withDefaults(defineProps<Props>(), {
title:"設計書から導入する(Excel)",
title:'設計書から導入する(Excel)',
uploadUrl: `${process.env.KAB_BACKEND_URL}api/v1/createappfromexcel?format=1`
});