added dockerfile

This commit is contained in:
charlene tau express 2025-03-03 17:43:20 +08:00
parent 6733f46f58
commit 764829504b
4 changed files with 11 additions and 8 deletions

View File

@ -46,11 +46,11 @@ const searchWhat = ref(searchStore.searchParams.query)
const query={...searchStore.searchParams}
const keys_of_a_data=ref()
const keys_of_a_data=ref<any[]>()
const arr_col_items=ref([])
const arr_col_items=ref<any[]>([])
const row_values = ref([])
const row_values = ref<any[]>([])
const router = useRouter();
const goToSearchPage=()=>{
router.push ("/")
@ -83,7 +83,7 @@ onMounted(()=>{
response.data.map(item=>{
const values=[]
const values:any[]=[]
Object.keys(item).forEach(key=>{
console.log("key12: ", key)

View File

@ -1,7 +1,7 @@
export const fetchData = async(endpoints="", requestType="GET", requestBody=null)=>{
export const fetchData = async(endpoints="", requestType="GET", requestBody:Record<string,any>|null =null)=>{
try{
const options={
const options:RequestInit={
method:requestType,
headers:{
"Content-Type":"application/json",

View File

@ -4,7 +4,7 @@
"exclude": ["src/**/__tests__/*"],
"compilerOptions": {
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
"noImplicitAny": false,
"paths": {
"@/*": ["./src/*"]
}

View File

@ -10,5 +10,8 @@
{
"path": "./tsconfig.vitest.json"
}
]
],
"compilerOptions": {
"noImplicitAny": false
}
}