fix: 避免 iframe 里面的 src 经过两层变量处理 (#3265)

This commit is contained in:
liaoxuezhi 2021-12-24 15:17:09 +08:00 committed by GitHub
parent fc902653a3
commit f29ed6ec8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -161,8 +161,6 @@ export default class IFrame extends React.Component<IFrameProps, object> {
...style
};
src = dataMapping(src, data);
const finalSrc = src ? buildApi(src, data).url : undefined;
if (