แก้ตารางไม่เเสดง
This commit is contained in:
parent
3b6c22027c
commit
4618465d0b
1 changed files with 5 additions and 3 deletions
|
|
@ -64,7 +64,7 @@ const selectedPos = ref<any[]>([]);
|
|||
const seletcId = ref<string>("");
|
||||
const datePos = ref<Date>(new Date());
|
||||
const rowsPosition = ref<Positions[]>([]);
|
||||
const positionData = ref<any>();
|
||||
const positionData = ref<any[]>([]);
|
||||
/** active form */
|
||||
const formActive = reactive<FormActive>({
|
||||
activeId: "",
|
||||
|
|
@ -638,7 +638,9 @@ onMounted(() => {
|
|||
<d-table
|
||||
ref="table"
|
||||
:columns="columns"
|
||||
:rows="positionData"
|
||||
:rows="
|
||||
positionData.length !== 0 ? positionData : []
|
||||
"
|
||||
:filter="filters"
|
||||
row-key="id"
|
||||
flat
|
||||
|
|
@ -779,7 +781,7 @@ onMounted(() => {
|
|||
<d-table
|
||||
ref="table"
|
||||
:columns="columnsPostition"
|
||||
:rows="rowsPosition"
|
||||
:rows="rowsPosition.length !== 0 ? rowsPosition:[]"
|
||||
row-key="id"
|
||||
flat
|
||||
bordered
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue