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.
@@ -304,11 +304,11 @@ export default defineComponent({
304
304
  //远程拿数据模式
305
305
  const fetchItem = () => {
306
306
  if (props.fetchUrl) {
307
- state.isInitializing = false
307
+ state.isInitializing = true
308
308
  useFetch()
309
309
  .get(props.fetchUrl, { params: props.extraData })
310
310
  .then((res) => {
311
- state.isInitializing = true
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
  }
@@ -137,6 +137,8 @@ export default defineComponent({
137
137
  }
138
138
  )
139
139
  }
140
+
141
+ return fileList || []
140
142
  }
141
143
 
142
144
  const submitFile = () => {