mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-19 14:04:28 +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 {
|
class Com extends React.Component {
|
||||||
|
// TODO: 暂时解决性能问题
|
||||||
|
shouldComponentUpdate() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
const componentName = _schema.componentName;
|
const componentName = _schema.componentName;
|
||||||
if (componentName === 'Component') {
|
if (componentName === 'Component') {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user