mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-13 01:21:58 +00:00
fix: 临时解决 lowCodeComponent 性能问题
This commit is contained in:
parent
f0adaa5fc0
commit
25b4ba28ab
@ -291,6 +291,11 @@ export class SimulatorRenderer implements BuiltinSimulatorRenderer {
|
||||
}
|
||||
|
||||
class Com extends React.Component {
|
||||
// TODO: 暂时解决性能问题
|
||||
shouldComponentUpdate() {
|
||||
return false;
|
||||
}
|
||||
|
||||
render() {
|
||||
const componentName = _schema.componentName;
|
||||
if (componentName === 'Component') {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user