jufubao-admin-library 1.1.121 → 1.1.122

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.
@@ -920,16 +920,15 @@ export default {
920
920
  loading.close();
921
921
  let resData = res.data || res;
922
922
  if(type === 'name') this.editVisible = false;
923
-
924
923
  if (resData.file_type !== "D") {
925
924
  this.$emit("replace", this.$xdHelper.cloneDeep(resData));
926
- this.handleClose()
927
925
  }
928
926
  this.info = this.$xdHelper.cloneDeep(resData);
929
927
  this.uploadKey = new Date().getTime();
930
928
  //后端更新列表有延迟,添加延时通知更新列表
931
929
  setTimeout(() => {
932
- this.$emit('refresh')
930
+ this.$emit('refresh');
931
+ if(resData.file_type === "F") this.handleClose();
933
932
  }, 500);
934
933
  })
935
934
  .catch((err) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-admin-library",
3
- "version": "1.1.121",
3
+ "version": "1.1.122",
4
4
  "description": "聚福宝福利后台管理系统公共模块",
5
5
  "author": "goashiyong <gaoshiyong1272@vip.163.com>",
6
6
  "scripts": {