Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
data-table
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
hookehuyr
2024-06-17 10:51:03 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
883450b10a20d6abce3c8026d358647f68a2eb35
883450b1
1 parent
6a7ac573
fix 有默认值情况下,动态处理默认值不触发表单更新问题
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
src/components/SignField/MyComponent.vue
src/components/SignField/MyComponent.vue
View file @
883450b
<!--
* @Date: 2023-03-29 17:44:24
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-06-17 10:
34:10
* @LastEditTime: 2024-06-17 10:
49:17
* @FilePath: /data-table/src/components/SignField/MyComponent.vue
* @Description: 文件描述
-->
...
...
@@ -79,6 +79,8 @@ onMounted(() => {
// 非只读,有默认值
if (props.component_props.default) {
default_value.value = props.component_props.default?.url;
image_url.value = props.component_props.default?.url; // 动态处理sign_value值的变化
show_control.value = false;
}
if (!props.component_props.readonly) {
show_sign.value = false;
...
...
Please
register
or
login
to post a comment