3h1-ui 2.1.30 → 2.1.31
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/es/index.js +9 -16
- package/lib/index.js +9 -16
- package/package.json +1 -1
package/es/index.js
CHANGED
|
@@ -20213,20 +20213,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
20213
20213
|
getFormSlotKeys,
|
|
20214
20214
|
handleSearchInfoChange
|
|
20215
20215
|
} = useTableForm(getProps, slots, getProps.value.api, getLoading);
|
|
20216
|
-
const getFormConfig =
|
|
20217
|
-
|
|
20218
|
-
|
|
20219
|
-
|
|
20220
|
-
|
|
20221
|
-
|
|
20222
|
-
|
|
20223
|
-
|
|
20224
|
-
};
|
|
20225
|
-
});
|
|
20226
|
-
watchEffect(() => {
|
|
20227
|
-
getFormConfig.value;
|
|
20228
|
-
console.log(getFormConfig.value);
|
|
20229
|
-
});
|
|
20216
|
+
const getFormConfig = {
|
|
20217
|
+
...getProps.value.formConfig,
|
|
20218
|
+
showAdvancedButton: true,
|
|
20219
|
+
submitButtonOptions: {
|
|
20220
|
+
loading: false
|
|
20221
|
+
},
|
|
20222
|
+
compact: true
|
|
20223
|
+
};
|
|
20230
20224
|
const [registerForm, formActions] = useForm();
|
|
20231
20225
|
const formSearch = ref({});
|
|
20232
20226
|
const params = computed(() => {
|
|
@@ -20290,9 +20284,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
20290
20284
|
key: 0,
|
|
20291
20285
|
class: normalizeClass(getClassName("search"))
|
|
20292
20286
|
}, [
|
|
20293
|
-
createVNode(unref(BasicForm), mergeProps({ ref: "formRef" },
|
|
20287
|
+
createVNode(unref(BasicForm), mergeProps({ ref: "formRef" }, getFormConfig, {
|
|
20294
20288
|
submitOnReset: "",
|
|
20295
|
-
tableAction,
|
|
20296
20289
|
onRegister: unref(registerForm),
|
|
20297
20290
|
onSubmit: unref(handleSearchInfoChange),
|
|
20298
20291
|
onReset: unref(handleSearchInfoChange)
|
package/lib/index.js
CHANGED
|
@@ -20215,20 +20215,14 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
20215
20215
|
getFormSlotKeys,
|
|
20216
20216
|
handleSearchInfoChange
|
|
20217
20217
|
} = useTableForm(getProps, slots, getProps.value.api, getLoading);
|
|
20218
|
-
const getFormConfig =
|
|
20219
|
-
|
|
20220
|
-
|
|
20221
|
-
|
|
20222
|
-
|
|
20223
|
-
|
|
20224
|
-
|
|
20225
|
-
|
|
20226
|
-
};
|
|
20227
|
-
});
|
|
20228
|
-
vue.watchEffect(() => {
|
|
20229
|
-
getFormConfig.value;
|
|
20230
|
-
console.log(getFormConfig.value);
|
|
20231
|
-
});
|
|
20218
|
+
const getFormConfig = {
|
|
20219
|
+
...getProps.value.formConfig,
|
|
20220
|
+
showAdvancedButton: true,
|
|
20221
|
+
submitButtonOptions: {
|
|
20222
|
+
loading: false
|
|
20223
|
+
},
|
|
20224
|
+
compact: true
|
|
20225
|
+
};
|
|
20232
20226
|
const [registerForm, formActions] = useForm();
|
|
20233
20227
|
const formSearch = vue.ref({});
|
|
20234
20228
|
const params = vue.computed(() => {
|
|
@@ -20292,9 +20286,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
20292
20286
|
key: 0,
|
|
20293
20287
|
class: vue.normalizeClass(getClassName("search"))
|
|
20294
20288
|
}, [
|
|
20295
|
-
vue.createVNode(vue.unref(BasicForm), vue.mergeProps({ ref: "formRef" },
|
|
20289
|
+
vue.createVNode(vue.unref(BasicForm), vue.mergeProps({ ref: "formRef" }, getFormConfig, {
|
|
20296
20290
|
submitOnReset: "",
|
|
20297
|
-
tableAction,
|
|
20298
20291
|
onRegister: vue.unref(registerForm),
|
|
20299
20292
|
onSubmit: vue.unref(handleSearchInfoChange),
|
|
20300
20293
|
onReset: vue.unref(handleSearchInfoChange)
|