เพิ่ม ui sort เครื่องราชแบบ drag & drop
This commit is contained in:
parent
cf69df74ac
commit
fb0347fbe9
8 changed files with 175 additions and 2 deletions
|
|
@ -9,7 +9,7 @@ import { useCounterMixin } from "@/stores/mixin";
|
|||
const { date2Thai } = useCounterMixin();
|
||||
|
||||
export const useInsigniaDataStore = defineStore("insigniaData", () => {
|
||||
const row = ref<DataRow[]>();
|
||||
const row = ref<DataRow[]>([]);
|
||||
function fetchData(data: DataResponse[], insigniaType?: string) {
|
||||
data.forEach((row, index) => {
|
||||
row.level = index + 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue