@skyfox2000/webui 1.4.12 → 1.4.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/lib/assets/modules/{baseLayout-CcWMwINU.js → baseLayout-BtJNPMBy.js} +3 -3
- package/lib/assets/modules/{file-upload-CB2izhwm.js → file-upload-CYNi1NsW.js} +1 -1
- package/lib/assets/modules/{index-CTuByOKL.js → index-BOOirPG2.js} +1 -1
- package/lib/assets/modules/{index-Ct3cEgTF.js → index-Cj6QnoC7.js} +2 -2
- package/lib/assets/modules/{index-B4b_Nr4U.js → index-DWnhNqJu.js} +2 -2
- package/lib/assets/modules/{menuTabs-L6-Txvgp.js → menuTabs-DDGkYuvg.js} +2 -2
- package/lib/assets/modules/{toolIcon-ChaoBuya.js → toolIcon-DXQt60Ya.js} +1 -1
- package/lib/assets/modules/{upload-template-cMYO_YLd.js → upload-template-CaeUt6VI.js} +1 -1
- package/lib/assets/modules/{uploadList-qzgXU9sK.js → uploadList-D0jw6jNr.js} +4 -4
- package/lib/es/AceEditor/index.js +3 -3
- package/lib/es/BasicLayout/index.js +2 -2
- package/lib/es/Error403/index.js +1 -1
- package/lib/es/Error404/index.js +1 -1
- package/lib/es/ExcelForm/index.js +5 -5
- package/lib/es/MenuLayout/index.js +2 -2
- package/lib/es/TemplateFile/index.js +4 -4
- package/lib/es/UploadForm/index.js +4 -4
- package/lib/webui.es.js +373 -372
- package/package.json +1 -1
- package/src/components/content/table/index.vue +8 -0
- package/src/utils/table.ts +0 -1
package/package.json
CHANGED
|
@@ -180,6 +180,14 @@ onMounted(async () => {
|
|
|
180
180
|
pagination.value.total = gridCtrl.total.value ?? 0;
|
|
181
181
|
}
|
|
182
182
|
} else if (gridCtrl.autoload !== false) {
|
|
183
|
+
if (gridCtrl.page) {
|
|
184
|
+
if (gridCtrl.gridUrl?.url === gridCtrl.page.urls.list) {
|
|
185
|
+
gridCtrl.remotePage = false;
|
|
186
|
+
}
|
|
187
|
+
if (gridCtrl.gridUrl?.url === gridCtrl.page.urls.find) {
|
|
188
|
+
gridCtrl.remotePage = true;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
183
191
|
if (gridCtrl.remotePage) {
|
|
184
192
|
dataList.value = (await gridQueryFind(gridCtrl)).rows;
|
|
185
193
|
} else {
|
package/src/utils/table.ts
CHANGED
|
@@ -96,7 +96,6 @@ export const mergeColumns = (newColumns: TableColumn[], oldColumns?: TableColumn
|
|
|
96
96
|
* @returns
|
|
97
97
|
*/
|
|
98
98
|
export const gridQueryList = <T>(gridCtrl: GridControl<T>): Promise<T[]> => {
|
|
99
|
-
gridCtrl.remotePage = false;
|
|
100
99
|
return gridQueryFind(gridCtrl).then((result) => {
|
|
101
100
|
return result.rows as T[];
|
|
102
101
|
});
|