jufubao-admin-library 1.1.121 → 1.1.123

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.
@@ -923,7 +923,6 @@ export default {
923
923
 
924
924
  if (resData.file_type !== "D") {
925
925
  this.$emit("replace", this.$xdHelper.cloneDeep(resData));
926
- this.handleClose()
927
926
  }
928
927
  this.info = this.$xdHelper.cloneDeep(resData);
929
928
  this.uploadKey = new Date().getTime();
@@ -268,7 +268,6 @@ export default {
268
268
  };
269
269
  if(this.file_name) data = {...data, file_name: this.file_name};
270
270
  let loading = Loading.service({zIndex: 4000,background:'rgba(255,255,255,0)'});
271
- this.selectMaterialId = '';
272
271
  this.getPlatformMaterialList(data)
273
272
  .then((res) => {
274
273
  if (res.data) {
@@ -95,6 +95,9 @@ export default {
95
95
  console.log(value);
96
96
  this.dialogVisible = value;
97
97
  },
98
+ dialogVisible(value) {
99
+ console.warning('dialogVisible'+value)
100
+ }
98
101
  },
99
102
  components: {
100
103
  Menu: menu,
@@ -117,7 +120,7 @@ export default {
117
120
  isConfirm(){
118
121
  return !this.selectMaterial.filter(item=>{
119
122
  //只提交图片文件
120
- return item.file_type === 'F'
123
+ return (item.file_type === 'F'||!item.file_type)
121
124
  }).length > 0
122
125
  }
123
126
  },
@@ -171,6 +174,7 @@ export default {
171
174
  this.selectMaterial = this.selectMaterial.filter((i) => i.file_id !== data.file_id);
172
175
  },
173
176
  handleClosed() {
177
+
174
178
  this.$emit("update:show", this.uiShow);
175
179
  this.$emit("onClose");
176
180
  },
@@ -178,7 +182,7 @@ export default {
178
182
  let selectMaterial;
179
183
  selectMaterial = this.selectMaterial.filter(item=>{
180
184
  //只提交图片文件
181
- return item.file_type === 'F'
185
+ return (item.file_type === 'F'||!item.file_type)
182
186
  }).map((item) => {
183
187
  return {
184
188
  url: item.file_url,
@@ -256,7 +260,7 @@ export default {
256
260
  & .material ::v-deep {
257
261
  .material-wrap {
258
262
  height: 100%;
259
-
263
+ min-height: auto;
260
264
  & > div:nth-child(2) {
261
265
  height: calc(100% - 56px);
262
266
  justify-content: space-between;
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.123",
4
4
  "description": "聚福宝福利后台管理系统公共模块",
5
5
  "author": "goashiyong <gaoshiyong1272@vip.163.com>",
6
6
  "scripts": {