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-09-14 13:56:40 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4b7a2a5fc97f41fae665c56055a4d54dc2ddaa23
4b7a2a5f
1 parent
b53cb431
fix
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/components/TextareaField/index.vue
src/components/TextareaField/index.vue
View file @
4b7a2a5
...
...
@@ -56,7 +56,7 @@ const ReadonlyShow = computed(() => {
onMounted(() => {
// 只读模式下默认值替换换行符
props.item.value = item.component_props.readonly ? props.item.component_props.default?.replace(/\n/g, "<br>") : props.item.component_props.default;
props.item.value =
props.
item.component_props.readonly ? props.item.component_props.default?.replace(/\n/g, "<br>") : props.item.component_props.default;
})
</script>
...
...
Please
register
or
login
to post a comment