added dockerfile
This commit is contained in:
parent
6733f46f58
commit
764829504b
@ -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)
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
"exclude": ["src/**/__tests__/*"],
|
||||
"compilerOptions": {
|
||||
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
||||
|
||||
"noImplicitAny": false,
|
||||
"paths": {
|
||||
"@/*": ["./src/*"]
|
||||
}
|
||||
|
||||
@ -10,5 +10,8 @@
|
||||
{
|
||||
"path": "./tsconfig.vitest.json"
|
||||
}
|
||||
]
|
||||
],
|
||||
"compilerOptions": {
|
||||
"noImplicitAny": false
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user