mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-02-28 12:50:38 +00:00
fix: should set field
This commit is contained in:
parent
0d3e7c96b3
commit
20c3b27c31
@ -105,6 +105,10 @@ export class StylePoint {
|
|||||||
readonly id: string;
|
readonly id: string;
|
||||||
|
|
||||||
constructor(level: number, id?: string) {
|
constructor(level: number, id?: string) {
|
||||||
|
this.level = level;
|
||||||
|
if (id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
let placeholder: any;
|
let placeholder: any;
|
||||||
if (id) {
|
if (id) {
|
||||||
placeholder = document.head.querySelector(`style[data-id="${id}"]`);
|
placeholder = document.head.querySelector(`style[data-id="${id}"]`);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user