mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 02:58:05 +08:00
修复 iframe 获取变量时,自动 escape 的问题 (#2441)
This commit is contained in:
parent
c9786ce72a
commit
bae52ab49a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user