no message

This commit is contained in:
STW_TTTY\stwtt 2024-07-02 13:06:47 +07:00
parent c7db0943b9
commit 7f51972648

View file

@ -127,7 +127,7 @@ function onAdd(type: string) {
} }
const rows = ref<any[]>([]); const rows = ref<any[]>([]);
const lists = ref<any>([]); const lists = ref<any[]>([]);
// const resultEvaluation = ref<string | 0>(0); // const resultEvaluation = ref<string | 0>(0);
function getData(type: any) { function getData(type: any) {
@ -136,7 +136,6 @@ function getData(type: any) {
.then(async (res) => { .then(async (res) => {
const data = res.data.result.data; const data = res.data.result.data;
rows.value[type] = data; rows.value[type] = data;
console.log("🚀 ~ .then ~ rows.value[type]:", rows.value[type])
lists.value = await lists.value.filter((x: any) => x.type != type); lists.value = await lists.value.filter((x: any) => x.type != type);
lists.value.push({ type: type, data }); lists.value.push({ type: type, data });
}) })