优化:避免产生历史记录

pull/1554/MERGE
ChenX 3 years ago
parent 954b1815fb
commit d9582893d4

@ -14,7 +14,8 @@ export abstract class Dimension extends Entity
set TextString(txt: string)
{
let str = this.GetString();
if (txt !== str)
let tstr = this._TextString ? this._TextString.replace("<>", str) : str;
if (txt !== tstr)
{
this.WriteAllObjectRecord();
if (txt.trim() === "")

Loading…
Cancel
Save