vue-2024-ui 0.0.12 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -125,10 +125,10 @@ const defaultQueryAttrs = {
|
|
|
125
125
|
}
|
|
126
126
|
},
|
|
127
127
|
cols: {
|
|
128
|
-
span: 6, offset: 0, xs: 24, sm: 12, md:
|
|
128
|
+
span: 6, offset: 0, xs: 24, sm: 12, md: 8, lg: 6, xl: 4,
|
|
129
129
|
},
|
|
130
130
|
btns: {
|
|
131
|
-
col: { span:
|
|
131
|
+
col: { span: 8, offset: 0, xs: 24, sm: 12, md: 8, lg: 6, xl: 4, },
|
|
132
132
|
style: {
|
|
133
133
|
width: "100%", display: "flex", justifyContent: "flex-end"
|
|
134
134
|
}
|
|
@@ -169,7 +169,6 @@ const defaultTableAttrs = {
|
|
|
169
169
|
emptyText: '暂无数据',
|
|
170
170
|
fit: false,
|
|
171
171
|
type: "hidden",
|
|
172
|
-
height: "calc(100vh - 65px)",
|
|
173
172
|
load: () => {
|
|
174
173
|
let { currentPage, pageSize } = model.value.table.page;
|
|
175
174
|
emits('load', { currentPage, pageSize, ...queryInfo.value }, (data, total) => {
|
|
@@ -184,6 +183,7 @@ const defaultTableAttrs = {
|
|
|
184
183
|
readForm(row, column, event, model);
|
|
185
184
|
}
|
|
186
185
|
},
|
|
186
|
+
style: { 'min-height': '100px' },
|
|
187
187
|
page: {
|
|
188
188
|
total: 0,
|
|
189
189
|
pageSize: 20,
|
|
@@ -420,6 +420,7 @@ const submit = (formInfo, model) => {
|
|
|
420
420
|
emits("submit", modalState.value, formInfo, model, (res) => {
|
|
421
421
|
if (res) {
|
|
422
422
|
dialogVisible.value = false;
|
|
423
|
+
model.table.load();
|
|
423
424
|
}
|
|
424
425
|
})
|
|
425
426
|
}
|