Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
Open Source
>
Web Development
>
Backend Management
&&
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
1.3K
Star
16.3K
Fork
9.7K
dromara
/
RuoYi-Vue-Plus
Code
Issues
4
Pull Requests
1
Insights
Pipelines
Service
JavaDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
DevLens
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
[功能建议]: 前端ui,定义组件(文件上传)与el-form之间的禁用状态同步
Done
#I8LXAX
setlx
Opened this issue
2023-12-05 15:03
### 你的功能建议是否和某个问题相关? 表单禁用之后,自定义文件上传组件仍可以删除文件。建议与el-form之间禁用状态同步 ### 你希望看到什么解决方案? 表单禁用之后文件不能删除,禁用状态与el-form同步 ```vue <el-form :disabled="disable" :model="form"> <el-form-item> <el-input v-model="form.vue"/> </el-form-item> <el-form-item label="文件"> <FileUpload v-model="form.fileUrl"/> </el-form-item> </el-form> ``` 不要在文件上传组件绑定disable属性 ```vue <FileUpload :disabled="disable" v-model="form.fileUrl"/> ``` ### 你考虑过哪些替代方案? ### 你有其他上下文或截图吗? 表单已经禁用  ### 意向参与贡献 - [ ] 我有意向参与具体功能的开发实现并将代码贡献回到上游社区
### 你的功能建议是否和某个问题相关? 表单禁用之后,自定义文件上传组件仍可以删除文件。建议与el-form之间禁用状态同步 ### 你希望看到什么解决方案? 表单禁用之后文件不能删除,禁用状态与el-form同步 ```vue <el-form :disabled="disable" :model="form"> <el-form-item> <el-input v-model="form.vue"/> </el-form-item> <el-form-item label="文件"> <FileUpload v-model="form.fileUrl"/> </el-form-item> </el-form> ``` 不要在文件上传组件绑定disable属性 ```vue <FileUpload :disabled="disable" v-model="form.fileUrl"/> ``` ### 你考虑过哪些替代方案? ### 你有其他上下文或截图吗? 表单已经禁用  ### 意向参与贡献 - [ ] 我有意向参与具体功能的开发实现并将代码贡献回到上游社区
Comments (
7
)
Sign in
to comment
Status
Done
Backlog
Doing
Done
Closed
Assignees
Not set
LiuHao
lhailgl
Assignee
Collaborator
+Assign
+Mention
Labels
enhancement
Not set
Label settings
Milestones
No related milestones
No related milestones
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
Branches (
-
)
Tags (
-
)
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
参与者(3)
Java
1
https://gitee.com/dromara/RuoYi-Vue-Plus.git
git@gitee.com:dromara/RuoYi-Vue-Plus.git
dromara
RuoYi-Vue-Plus
RuoYi-Vue-Plus
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register