Commit fbb88210 authored by zhangbobell's avatar zhangbobell

fix(png): fix bug when export png with node collapsed

parent b1916160
......@@ -126,7 +126,7 @@ define(function(require, exports, module) {
for(var i = 0; i < allNodes.length; i++) {
var nodeData = allNodes[i].data;
if (nodeData.image) {
if (nodeData.image && nodeData.expandState === 'expand') {
/*
* 导出之前渲染这个节点,否则取出的 contentBox 不对
* by zhangbobell
......
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 to comment