@newview/file-ui 1.1.48 → 1.1.50
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/README.md +2 -2
- package/dist/file-ui.js +4 -3
- package/dist/file-ui.umd.cjs +1 -1
- package/package.json +1 -1
- package/types/ComFormUp.d.ts +93 -89
package/README.md
CHANGED
package/dist/file-ui.js
CHANGED
|
@@ -359,8 +359,8 @@ let UploadFileInstance$1 = class UploadFileInstance extends BaseInstance {
|
|
|
359
359
|
const ext = temp[temp.length - 1].toLowerCase();
|
|
360
360
|
if (allowedExtensions.includes(ext)) {
|
|
361
361
|
const fileNameWithoutExt = fileName.slice(0, -(ext.length + 1));
|
|
362
|
-
if (fileNameWithoutExt.length >
|
|
363
|
-
this.message.warning("文件名长度不能超过
|
|
362
|
+
if (fileNameWithoutExt.length > 100) {
|
|
363
|
+
this.message.warning("文件名长度不能超过100个字符");
|
|
364
364
|
flag = false;
|
|
365
365
|
return reject();
|
|
366
366
|
}
|
|
@@ -20517,8 +20517,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
20517
20517
|
signType: _ctx.getPropValue(item.signProp, "signType"),
|
|
20518
20518
|
isFakeVerifySign: _ctx.getPropValue(item.signProp, "isFakeVerifySign"),
|
|
20519
20519
|
signResult: _ctx.formModel[item.model],
|
|
20520
|
+
isInstitutionSign: _ctx.getPropValue(item.signProp, "isInstitutionSign"),
|
|
20520
20521
|
onSignSuccess: ($event) => _ctx.signOnSuccess(item, $event)
|
|
20521
|
-
}, null, 8, ["signContent", "signType", "isFakeVerifySign", "signResult", "onSignSuccess"])) : createCommentVNode("", true)
|
|
20522
|
+
}, null, 8, ["signContent", "signType", "isFakeVerifySign", "signResult", "isInstitutionSign", "onSignSuccess"])) : createCommentVNode("", true)
|
|
20522
20523
|
]),
|
|
20523
20524
|
_: 1
|
|
20524
20525
|
}, 8, ["onlyView", "formItems", "formModel"]);
|