jobsys-explore 4.7.2 → 4.7.4
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/components/form/ExForm.jsx +2 -2
- package/components/form/FormItem.jsx +1 -1
- package/components/uploader/ExUploader.jsx +2 -0
- package/dist/jobsys-explore.cjs +1 -1
- package/dist/jobsys-explore.cjs.map +1 -1
- package/dist/jobsys-explore.js +12 -17
- package/dist/jobsys-explore.js.map +1 -1
- package/package.json +1 -1
- package/playground/TestForm.vue +11 -11
- package/playground/TestUploader.vue +1 -1
- package/vite.config.js +1 -1
|
@@ -304,11 +304,11 @@ export default defineComponent({
|
|
|
304
304
|
//远程拿数据模式
|
|
305
305
|
const fetchItem = () => {
|
|
306
306
|
if (props.fetchUrl) {
|
|
307
|
-
state.isInitializing =
|
|
307
|
+
state.isInitializing = true
|
|
308
308
|
useFetch()
|
|
309
309
|
.get(props.fetchUrl, { params: props.extraData })
|
|
310
310
|
.then((res) => {
|
|
311
|
-
state.isInitializing =
|
|
311
|
+
state.isInitializing = false
|
|
312
312
|
useProcessStatusSuccess(res, () => {
|
|
313
313
|
if (props.afterFetched && isFunction(props.afterFetched)) {
|
|
314
314
|
res = props.afterFetched(res)
|
|
@@ -73,7 +73,7 @@ const render = (item, submitForm, { props, slots }) => {
|
|
|
73
73
|
if (fieldProps.required) {
|
|
74
74
|
fieldProps.rules.push({
|
|
75
75
|
required: true,
|
|
76
|
-
message: isPicker ? `请选择${item.title}` : `请填写${item.title}`,
|
|
76
|
+
message: isPicker ? `请选择${item.title || ""}` : `请填写${item.title || ""}`,
|
|
77
77
|
trigger: isPicker ? "onChange" : "onBlur", //特意
|
|
78
78
|
})
|
|
79
79
|
}
|