@@ -392,7 +392,7 @@ export default {
// 把canvas图保存到图片服务器
saveImg() {
let vm = this
- if (!this.file) {
+ if (!this.file && this.ruleForm.Type == 'Image') {
//修改图片的时候没有重新上传图片
if (this.title == '添加图例库') {
this.create()