Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Chatopera OpenSource
/
ferry_web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
8dfa3606
authored
Jul 21, 2020
by
Mr. Lan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug.
parent
251356b3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
src/components/VueFormMaking/components/GenerateFormItem.vue
src/components/VueFormMaking/components/WidgetFormItem.vue
src/components/VueFormMaking/components/GenerateFormItem.vue
View file @
8dfa3606
...
...
@@ -300,8 +300,7 @@ export default {
// label width
if
(
this
.
widget
.
options
.
labelWidthDisabled
)
{
this
.
widgetLabelWidth
=
this
.
widget
.
options
.
labelWidth
}
else
if
(
this
.
widget
.
type
===
'grid'
||
this
.
widget
.
type
===
'divider'
||
}
else
if
(
this
.
widget
.
type
===
'divider'
||
(
this
.
widget
.
type
===
'text'
&&
this
.
widget
.
options
.
textLabelStatus
===
false
))
{
this
.
widgetLabelWidth
=
0
}
else
{
...
...
src/components/VueFormMaking/components/WidgetFormItem.vue
View file @
8dfa3606
...
...
@@ -270,7 +270,7 @@ export default {
}
if
(
status
)
{
this
.
elementLabelWidth
=
this
.
element
.
options
.
labelWidth
}
else
if
(
this
.
element
.
type
===
'
grid'
||
this
.
element
.
type
===
'
divider'
||
(
this
.
element
.
type
===
'text'
&&
element
.
options
.
textLabelStatus
===
false
))
{
}
else
if
(
this
.
element
.
type
===
'divider'
||
(
this
.
element
.
type
===
'text'
&&
element
.
options
.
textLabelStatus
===
false
))
{
this
.
elementLabelWidth
=
0
}
else
{
// 全局
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment