提交 47f5784e 编写于 作者: P piexlMax

处理 图片文件同时存在时table下产生的bug

上级 cff56949
......@@ -227,15 +227,16 @@ import {
get{{.StructName}}List
} from '@/api/{{.PackageName}}'
{{- if or .HasPic .HasFile}}
import { getUrl } from '@/utils/image'
{{- end}
{{- if .HasPic }}
// 图片选择组件
import { getUrl } from '@/utils/image'
import SelectImage from '@/components/selectImage/selectImage.vue'
{{- end }}
{{- if .HasFile }}
// 文件选择组件
import { getUrl } from '@/utils/image'
import SelectFile from '@/components/selectFile/selectFile.vue'
{{- end }}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册