diff --git a/app/src/protyle/index.ts b/app/src/protyle/index.ts index 35477bec4..113504cd8 100644 --- a/app/src/protyle/index.ts +++ b/app/src/protyle/index.ts @@ -113,7 +113,9 @@ export class Protyle { break; case "transactions": data.data[0].doOperations.forEach((item: IOperation) => { - if (!this.protyle.preview.element.classList.contains("fn__none")) { + if (!this.protyle.preview.element.classList.contains("fn__none") && + item.action !== "updateAttrs" // 预览模式下点击只读 + ) { this.protyle.preview.render(this.protyle); } else { onTransaction(this.protyle, item, false);