Merge branch 'dongwu_develop' into develop

This commit is contained in:
BOE\10867418
2023-03-22 09:46:20 +08:00
16 changed files with 200 additions and 58 deletions

View File

@@ -217,7 +217,7 @@ export function useRowsPage(_url, params, init = true) {
};
}
export function usePage(_url, params, init = true) {
export function usePage(_url, params, init = true,listing = false) {
const state = reactive({
data: [],
@@ -227,7 +227,7 @@ export function usePage(_url, params, init = true) {
loading: false
});
if (isRef(params)) {
if (isRef(params) && listing) {
watch(params.value, () => {
fetch();
});