eoss-ui 0.4.27 → 0.4.28
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/lib/eoss-ui.common.js +13 -11
- package/lib/index.js +1 -1
- package/lib/upload.js +10 -8
- package/package.json +1 -1
- package/packages/upload/src/main.vue +7 -3
- package/src/index.js +1 -1
package/lib/eoss-ui.common.js
CHANGED
|
@@ -66835,8 +66835,8 @@ form_src_table.install = function (Vue) {
|
|
|
66835
66835
|
};
|
|
66836
66836
|
|
|
66837
66837
|
/* harmony default export */ var table_form = (form_src_table);
|
|
66838
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/main.vue?vue&type=template&id=
|
|
66839
|
-
var
|
|
66838
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/main.vue?vue&type=template&id=0f78a687&
|
|
66839
|
+
var mainvue_type_template_id_0f78a687_render = function () {
|
|
66840
66840
|
var _vm = this
|
|
66841
66841
|
var _h = _vm.$createElement
|
|
66842
66842
|
var _c = _vm._self._c || _h
|
|
@@ -67169,11 +67169,11 @@ var mainvue_type_template_id_386254b4_render = function () {
|
|
|
67169
67169
|
2
|
|
67170
67170
|
)
|
|
67171
67171
|
}
|
|
67172
|
-
var
|
|
67173
|
-
|
|
67172
|
+
var mainvue_type_template_id_0f78a687_staticRenderFns = []
|
|
67173
|
+
mainvue_type_template_id_0f78a687_render._withStripped = true
|
|
67174
67174
|
|
|
67175
67175
|
|
|
67176
|
-
// CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=
|
|
67176
|
+
// CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=0f78a687&
|
|
67177
67177
|
|
|
67178
67178
|
// CONCATENATED MODULE: ./packages/upload/src/picture.js
|
|
67179
67179
|
/* harmony default export */ var picture = ({
|
|
@@ -67946,9 +67946,7 @@ var mainvue_type_script_lang_js_props;
|
|
|
67946
67946
|
text = '附件总';
|
|
67947
67947
|
}
|
|
67948
67948
|
}
|
|
67949
|
-
if (flag) {
|
|
67950
|
-
this.filesTotalSize += se;
|
|
67951
|
-
} else {
|
|
67949
|
+
if (!flag) {
|
|
67952
67950
|
this.$message.error('\u4E0A\u4F20' + text + '\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC7' + size + 'KB!');
|
|
67953
67951
|
}
|
|
67954
67952
|
return flag;
|
|
@@ -67995,6 +67993,8 @@ var mainvue_type_script_lang_js_props;
|
|
|
67995
67993
|
}
|
|
67996
67994
|
}).then(function (res) {
|
|
67997
67995
|
if (res.rCode === 0) {
|
|
67996
|
+
var se = _this6.filesTotalSize - Math.ceil(file.size / 1024 * 100) / 100;
|
|
67997
|
+
_this6.filesTotalSize = se;
|
|
67998
67998
|
_this6.$message.success(res.msg);
|
|
67999
67999
|
resolve();
|
|
68000
68000
|
} else {
|
|
@@ -68099,6 +68099,8 @@ var mainvue_type_script_lang_js_props;
|
|
|
68099
68099
|
this.$message.success(response.msg);
|
|
68100
68100
|
}
|
|
68101
68101
|
}
|
|
68102
|
+
var se = this.filesTotalSize + Math.ceil(file.size / 1024 * 100) / 100;
|
|
68103
|
+
this.filesTotalSize = se;
|
|
68102
68104
|
this.onSuccess && this.onSuccess(response, file, fileList);
|
|
68103
68105
|
this.$emit('success', response, file, fileList);
|
|
68104
68106
|
if (this.resultFile) {
|
|
@@ -68153,8 +68155,8 @@ var mainvue_type_script_lang_js_props;
|
|
|
68153
68155
|
|
|
68154
68156
|
var upload_src_main_component = normalizeComponent(
|
|
68155
68157
|
packages_upload_src_mainvue_type_script_lang_js_,
|
|
68156
|
-
|
|
68157
|
-
|
|
68158
|
+
mainvue_type_template_id_0f78a687_render,
|
|
68159
|
+
mainvue_type_template_id_0f78a687_staticRenderFns,
|
|
68158
68160
|
false,
|
|
68159
68161
|
null,
|
|
68160
68162
|
null,
|
|
@@ -68632,7 +68634,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
68632
68634
|
}
|
|
68633
68635
|
|
|
68634
68636
|
/* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
|
|
68635
|
-
version: '0.4.
|
|
68637
|
+
version: '0.4.28',
|
|
68636
68638
|
install: install,
|
|
68637
68639
|
Button: packages_button,
|
|
68638
68640
|
ButtonGroup: button_group,
|