no message
This commit is contained in:
parent
c7db0943b9
commit
7f51972648
1 changed files with 1 additions and 2 deletions
|
|
@ -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 });
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue