@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.
- package/dist/v2coding-ui.esm.js +15 -7
- package/dist/v2coding-ui.min.js +1 -1
- package/dist/v2coding-ui.ssr.js +15 -7
- package/package.json +1 -1
package/dist/v2coding-ui.ssr.js
CHANGED
|
@@ -5008,11 +5008,15 @@ var ColorField = __vue_component__$q;var Upload$1 = {
|
|
|
5008
5008
|
formData.append(key, value);
|
|
5009
5009
|
});
|
|
5010
5010
|
formData.append(file.filename, file.file);
|
|
5011
|
-
return Axios.getInstance().post(url, formData
|
|
5011
|
+
return Axios.getInstance().post(url, formData, {
|
|
5012
|
+
autoMessage: false
|
|
5013
|
+
});
|
|
5012
5014
|
},
|
|
5013
5015
|
oss: function oss(url, params, file) {
|
|
5014
5016
|
var getSignature = function getSignature(params) {
|
|
5015
|
-
return Axios.getInstance().post(url, params
|
|
5017
|
+
return Axios.getInstance().post(url, params, {
|
|
5018
|
+
autoMessage: false
|
|
5019
|
+
});
|
|
5016
5020
|
};
|
|
5017
5021
|
|
|
5018
5022
|
return getSignature(params).then(function (result) {
|
|
@@ -5034,7 +5038,9 @@ var ColorField = __vue_component__$q;var Upload$1 = {
|
|
|
5034
5038
|
data.append('key', dir + fileName); // data.append('Filename', fileName);
|
|
5035
5039
|
|
|
5036
5040
|
data.append('file', file.file);
|
|
5037
|
-
return Axios.getInstance().post(host, data
|
|
5041
|
+
return Axios.getInstance().post(host, data, {
|
|
5042
|
+
autoMessage: false
|
|
5043
|
+
}).then(function () {
|
|
5038
5044
|
return {
|
|
5039
5045
|
success: true,
|
|
5040
5046
|
data: {
|
|
@@ -5047,7 +5053,8 @@ var ColorField = __vue_component__$q;var Upload$1 = {
|
|
|
5047
5053
|
aws: function aws(url, params, file) {
|
|
5048
5054
|
var getSignature = function getSignature(params) {
|
|
5049
5055
|
return Axios.getInstance().get(url, {
|
|
5050
|
-
params: params
|
|
5056
|
+
params: params,
|
|
5057
|
+
autoMessage: false
|
|
5051
5058
|
});
|
|
5052
5059
|
};
|
|
5053
5060
|
|
|
@@ -5062,7 +5069,8 @@ var ColorField = __vue_component__$q;var Upload$1 = {
|
|
|
5062
5069
|
return Axios.getInstance().put(putUrl, file.file, {
|
|
5063
5070
|
headers: {
|
|
5064
5071
|
'Content-Type': 'multipart/form-data'
|
|
5065
|
-
}
|
|
5072
|
+
},
|
|
5073
|
+
autoMessage: false
|
|
5066
5074
|
}).then(function () {
|
|
5067
5075
|
return {
|
|
5068
5076
|
success: true,
|
|
@@ -10587,7 +10595,7 @@ var DefaultTypes = {
|
|
|
10587
10595
|
direction: 'vertical'
|
|
10588
10596
|
}
|
|
10589
10597
|
}) : null, h('el-button', {
|
|
10590
|
-
|
|
10598
|
+
class: props.class,
|
|
10591
10599
|
props: _objectSpread2({
|
|
10592
10600
|
type: 'text',
|
|
10593
10601
|
size: 'mini'
|
|
@@ -10627,7 +10635,7 @@ var DefaultTypes = {
|
|
|
10627
10635
|
props = _objectWithoutProperties(_ref9, _excluded2$1);
|
|
10628
10636
|
|
|
10629
10637
|
return h('el-dropdown-item', {
|
|
10630
|
-
|
|
10638
|
+
class: props.class,
|
|
10631
10639
|
props: _objectSpread2(_objectSpread2({}, props), {}, {
|
|
10632
10640
|
command: key
|
|
10633
10641
|
})
|