แก้ unshift
This commit is contained in:
parent
b4dce64e77
commit
3b607da42d
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ export const useDataStore = defineStore("storeData", () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
if (index === -1) {
|
if (index === -1) {
|
||||||
dataBackUp.value.push({
|
dataBackUp.value.unshift({
|
||||||
id: item.created_at.toString(),
|
id: item.created_at.toString(),
|
||||||
name: "-",
|
name: "-",
|
||||||
timestamp: item.created_at,
|
timestamp: item.created_at,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue