Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
work-order-web
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
张圳龙
work-order-web
Commits
78b1812b
Unverified
Commit
78b1812b
authored
Sep 16, 2020
by
lanyulei
Committed by
GitHub
Sep 16, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #24 from lanyulei/dev
修复表单设计器图片上传失败bug。
parents
ef91f27d
0b439b72
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
239 additions
and
223 deletions
+239
-223
GenerateFormItem.vue
src/components/VueFormMaking/components/GenerateFormItem.vue
+2
-2
index.vue
src/components/VueFormMaking/components/Upload/index.vue
+237
-221
No files found.
src/components/VueFormMaking/components/GenerateFormItem.vue
View file @
78b1812b
...
...
@@ -20,7 +20,7 @@
<
template
v-else-if=
"widget.type=='imgupload'"
>
<fm-upload
v-model=
"dataModel"
:disabled=
"
widget.options.disabled
"
:disabled=
"
true
"
:style=
"
{'width': widget.options.width}"
:width="widget.options.size.width"
:height="widget.options.size.height"
...
...
@@ -60,7 +60,7 @@
</span>
</el-divider>
</
template
>
<
template
v-if=
"widget.type === 'input' && widget.options.showPassword"
>
<
template
v-
else-
if=
"widget.type === 'input' && widget.options.showPassword"
>
<input
:value=
"dataModel"
type=
"password"
style=
"border: none; background-color: #ffffff; color: #303133"
disabled=
"disabled"
>
</
template
>
<
template
v-else
>
...
...
src/components/VueFormMaking/components/Upload/index.vue
View file @
78b1812b
This diff is collapsed.
Click to expand it.
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