|
|
@@ -588,8 +588,7 @@ export default {
|
|
|
context.drawImage(img,0,0,node.width, node.height)
|
|
|
let dataURL = CANVAS.toDataURL("image/jpg")
|
|
|
node.src = dataURL
|
|
|
-
|
|
|
- if (that.detail.status == '新建' || this.$route.query.action == 1) {
|
|
|
+ if (that.detail.status == '新建' || that.$route.query.action == 1) {
|
|
|
that.submit()
|
|
|
} else {
|
|
|
domtoimage.toJpeg(that.$refs.container,{
|