修复 iframe 获取变量时,自动 escape 的问题 (#2441)

This commit is contained in:
RickCole 2021-08-26 17:46:28 +08:00 committed by GitHub
parent c9786ce72a
commit bae52ab49a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -162,7 +162,7 @@ export default class IFrame extends React.Component<IFrameProps, object> {
};
if (isPureVariable(src)) {
src = resolveVariableAndFilter(src, data);
src = resolveVariableAndFilter(src, data, '| raw');
}
const finalSrc = src ? buildApi(src, data).url : undefined;