@newview/file-ui 1.1.51 → 1.1.53
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 +5 -12
- package/dist/file-ui.js +3 -2
- package/dist/file-ui.umd.cjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,15 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
* @LastEditTime: 2026-01-14 12:12:31
|
|
7
|
-
-->
|
|
8
|
-
## 1.1.51
|
|
9
|
-
1.构建选择组件添加单位工程名称
|
|
10
|
-
|
|
11
|
-
## 1.1.48
|
|
12
|
-
1.新增房建构件划分选择组件
|
|
1
|
+
## 1.1.53
|
|
2
|
+
1、表单组件签字项增加只读状态
|
|
3
|
+
|
|
4
|
+
## 1.1.50
|
|
5
|
+
1、文件上传组件文件名长度限制修改
|
|
13
6
|
|
|
14
7
|
## 1.1.47
|
|
15
8
|
1、UploadFile优化doBeforeUpload,增加对应'doc', 'docx', 'ppt', 'pptx', 'xls', 'xlsx'格式文件的文件名长度检测,
|
package/dist/file-ui.js
CHANGED
|
@@ -395,7 +395,7 @@ let UploadFileInstance$1 = class UploadFileInstance extends BaseInstance {
|
|
|
395
395
|
let ext = temp1[temp1.length - 1];
|
|
396
396
|
let ossContentType = this.getOssContentType(fileName);
|
|
397
397
|
let fileMark = this.utilities.getCurrentDate("YYYYMMDDHHmmss") + "_" + file.name;
|
|
398
|
-
let ossClient = await new OSSFileApi()
|
|
398
|
+
let ossClient = await new OSSFileApi();
|
|
399
399
|
const userInfo = this.storageInfo.getUser();
|
|
400
400
|
const business = this.storageInfo.getCurrentBusiness();
|
|
401
401
|
const module = this.storageInfo.getCurrentModule();
|
|
@@ -20519,8 +20519,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
20519
20519
|
isFakeVerifySign: _ctx.getPropValue(item.signProp, "isFakeVerifySign"),
|
|
20520
20520
|
signResult: _ctx.formModel[item.model],
|
|
20521
20521
|
isInstitutionSign: _ctx.getPropValue(item.signProp, "isInstitutionSign"),
|
|
20522
|
+
disabled: _ctx.getPropValue(item.signProp, "readonly") || _ctx.onlyView,
|
|
20522
20523
|
onSignSuccess: ($event) => _ctx.signOnSuccess(item, $event)
|
|
20523
|
-
}, null, 8, ["signContent", "signType", "isFakeVerifySign", "signResult", "isInstitutionSign", "onSignSuccess"])) : createCommentVNode("", true)
|
|
20524
|
+
}, null, 8, ["signContent", "signType", "isFakeVerifySign", "signResult", "isInstitutionSign", "disabled", "onSignSuccess"])) : createCommentVNode("", true)
|
|
20524
20525
|
]),
|
|
20525
20526
|
_: 1
|
|
20526
20527
|
}, 8, ["onlyView", "formItems", "formModel"]);
|