fix bug sort
This commit is contained in:
parent
fb0347fbe9
commit
a7fa6e6cf4
1 changed files with 2 additions and 1 deletions
|
|
@ -79,7 +79,8 @@ async function onSubmit() {
|
|||
|
||||
watch(modal, () => {
|
||||
if (modal.value === true) {
|
||||
rows.value = store.row;
|
||||
// rows.value = store.row;
|
||||
rows.value = [...store.row]; // ดึงมาใช้ sort แล้วใน store ไม่เปลี่ยน
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue