@skyfox2000/webui 1.4.12 → 1.4.14
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 +437 -436
- package/package.json +1 -1
- package/src/components/content/table/index.vue +9 -0
- package/src/utils/table.ts +0 -1
package/package.json
CHANGED
|
@@ -173,6 +173,15 @@ onActivated(() => {
|
|
|
173
173
|
onMounted(async () => {
|
|
174
174
|
provide(ProviderKeys.GridControl, gridCtrl);
|
|
175
175
|
|
|
176
|
+
if (gridCtrl.page && gridCtrl.gridUrl?.url) {
|
|
177
|
+
if (gridCtrl.gridUrl?.url === gridCtrl.page.urls.list?.url) {
|
|
178
|
+
gridCtrl.remotePage = false;
|
|
179
|
+
}
|
|
180
|
+
if (gridCtrl.gridUrl?.url === gridCtrl.page.urls.find?.url) {
|
|
181
|
+
gridCtrl.remotePage = true;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
176
185
|
if (gridCtrl.tableData.value) {
|
|
177
186
|
dataList.value = gridCtrl.tableData.value;
|
|
178
187
|
gridCtrl.total.value = dataList.value.length;
|
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
|
});
|