|
|
|
@ -47,8 +47,7 @@
|
|
|
|
|
var getInitContent = function (params, initParams, align) { |
|
|
|
|
var editorService = BI.Services.getService("bi.service.design.chart.common.editor"); |
|
|
|
|
var paramGroup = params.split("|"); |
|
|
|
|
|
|
|
|
|
content = ""; |
|
|
|
|
var content = ""; |
|
|
|
|
|
|
|
|
|
for (var i = 0, len = paramGroup.length; i < len; i++) { |
|
|
|
|
var [key, value] = paramGroup[i].split(":"); |
|
|
|
@ -58,6 +57,10 @@
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (BI.endWith(content, '<br></p>')) { |
|
|
|
|
content = content.slice(0, -8) + '</p>'; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return content; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|