fix 代替标准已删除,下次打开还有

This commit is contained in:
赵霄
2024-05-07 14:08:40 +08:00
parent 25f4b1afdc
commit bc00190040
+1 -1
View File
@@ -1186,7 +1186,7 @@ export default {
parentParagraph.SetBold(false)
}
}
if (AllContentControls[i].GetAlias() === 'foton.replaceStandCode') {
if (AllContentControls[i].GetAlias() === 'foton.replaceStandCode' && Asc.scope.replaceStandCode !== 'X/XX xxxx-xxxx') {
let parentParagraph = AllContentControls[i].GetParentParagraph()
if (Asc.scope.replaceStandCode) {
const oRunStandENName = Api.CreateRun()