Add upload (#1016)
* [style] 修改右上角图标,选择统一风格的iconfont * [fix] fix webfont tree in readme file * (fix) 菜单编辑的时候,icon不居中 * 更新为使用组件 * 媒体库增加 普通上传、压缩上传按钮,方便媒体库直接上传图片 * 普通上传组件 * 增加数据类型切换后的的校验,避免使用错误的查询条件和字典条件。 Co-authored-by: bypanghu <bypanghu@163.com> Co-authored-by: tesun <36953434+tesun@users.noreply.github.com>
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
style="width:100%"
|
||||
placeholder="请选择field数据类型"
|
||||
clearable
|
||||
@change="clearOther"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in typeOptions"
|
||||
@@ -54,6 +55,7 @@
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
:value="item.value"
|
||||
:disabled="middleDate.fieldType!=='string'&&item.value==='LIKE'"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
@@ -174,6 +176,11 @@ const autoFill = () => {
|
||||
middleDate.value.columnName = toSQLLine(middleDate.value.fieldJson)
|
||||
}
|
||||
|
||||
const clearOther = () => {
|
||||
middleDate.value.fieldSearchType = ''
|
||||
middleDate.value.dictType = ''
|
||||
}
|
||||
|
||||
const fieldDialogFrom = ref(null)
|
||||
defineExpose({ fieldDialogFrom })
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user