แก้ unshift

This commit is contained in:
Net 2024-07-11 15:48:47 +07:00
parent b4dce64e77
commit 3b607da42d

View file

@ -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,