@v2coding/ui 1.1.1 → 1.1.3

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.
@@ -4550,11 +4550,15 @@ const Upload$1 = {
4550
4550
  formData.append(key, value);
4551
4551
  });
4552
4552
  formData.append(file.filename, file.file);
4553
- return Axios.getInstance().post(url, formData);
4553
+ return Axios.getInstance().post(url, formData, {
4554
+ autoMessage: false
4555
+ });
4554
4556
  },
4555
4557
  oss: (url, params, file) => {
4556
4558
  const getSignature = params => {
4557
- return Axios.getInstance().post(url, params);
4559
+ return Axios.getInstance().post(url, params, {
4560
+ autoMessage: false
4561
+ });
4558
4562
  };
4559
4563
 
4560
4564
  return getSignature(params).then(result => {
@@ -4577,7 +4581,9 @@ const Upload$1 = {
4577
4581
  data.append('key', dir + fileName); // data.append('Filename', fileName);
4578
4582
 
4579
4583
  data.append('file', file.file);
4580
- return Axios.getInstance().post(host, data).then(() => {
4584
+ return Axios.getInstance().post(host, data, {
4585
+ autoMessage: false
4586
+ }).then(() => {
4581
4587
  return {
4582
4588
  success: true,
4583
4589
  data: {
@@ -4590,7 +4596,8 @@ const Upload$1 = {
4590
4596
  aws: (url, params, file) => {
4591
4597
  const getSignature = params => {
4592
4598
  return Axios.getInstance().get(url, {
4593
- params
4599
+ params,
4600
+ autoMessage: false
4594
4601
  });
4595
4602
  };
4596
4603
 
@@ -4606,7 +4613,8 @@ const Upload$1 = {
4606
4613
  return Axios.getInstance().put(putUrl, file.file, {
4607
4614
  headers: {
4608
4615
  'Content-Type': 'multipart/form-data'
4609
- }
4616
+ },
4617
+ autoMessage: false
4610
4618
  }).then(() => {
4611
4619
  return {
4612
4620
  success: true,
@@ -10236,7 +10244,7 @@ const DefaultTypes = {
10236
10244
  direction: 'vertical'
10237
10245
  }
10238
10246
  }) : null, h('el-button', {
10239
- attrs: props,
10247
+ class: props.class,
10240
10248
  props: {
10241
10249
  type: 'text',
10242
10250
  size: 'mini',
@@ -10278,7 +10286,7 @@ const DefaultTypes = {
10278
10286
  ...props
10279
10287
  } = _ref8;
10280
10288
  return h('el-dropdown-item', {
10281
- attrs: props,
10289
+ class: props.class,
10282
10290
  props: { ...props,
10283
10291
  command: key
10284
10292
  }