Commit 0b439b72 by YuleiLan

fix: 修复图片上传失败bug。

parent 0a7f1506
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<template v-else-if="widget.type=='imgupload'"> <template v-else-if="widget.type=='imgupload'">
<fm-upload <fm-upload
v-model="dataModel" v-model="dataModel"
:disabled="widget.options.disabled" :disabled="true"
:style="{'width': widget.options.width}" :style="{'width': widget.options.width}"
:width="widget.options.size.width" :width="widget.options.size.width"
:height="widget.options.size.height" :height="widget.options.size.height"
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
</span> </span>
</el-divider> </el-divider>
</template> </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"> <input :value="dataModel" type="password" style="border: none; background-color: #ffffff; color: #303133" disabled="disabled">
</template> </template>
<template v-else> <template v-else>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment