提交 12271ffa 编写于 作者: jlj05024111@163.com's avatar jlj05024111@163.com

feat: 更新文件上传仅在非只读时显示上传描述

上级 c5057701
......@@ -94,7 +94,7 @@ export const IBizFileUploadOne = defineComponent({
拖拽到此区域
</div>
</div>
{this.c.uploadDescription && (
{this.c.uploadDescription && !this.readonly && (
<div class={this.ns.be('drag-box', 'accept-description')}>
{this.c.uploadDescription}
</div>
......@@ -108,7 +108,7 @@ export const IBizFileUploadOne = defineComponent({
>
上传文件
</i-button>,
this.c.uploadDescription && (
this.c.uploadDescription && !this.readonly && (
<div
class={this.ns.be('button-upload', 'accept-description')}
>
......
......@@ -85,7 +85,7 @@ export const IBizFileUpload = defineComponent({
拖拽到此区域
</div>
</div>
{this.c.uploadDescription && (
{this.c.uploadDescription && !this.readonly && (
<div class={this.ns.be('drag-box', 'accept-description')}>
{this.c.uploadDescription}
</div>
......@@ -99,7 +99,7 @@ export const IBizFileUpload = defineComponent({
>
上传文件
</i-button>,
this.c.uploadDescription && (
this.c.uploadDescription && !this.readonly && (
<div
class={this.ns.be('button-upload', 'accept-description')}
>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册