From 5b5c1e16deaa3a9d6d0ed1ffca390655ed103df7 Mon Sep 17 00:00:00 2001 From: buli <137736985@qq.com> Date: 星期五, 14 七月 2023 14:56:14 +0800 Subject: [PATCH] lex community --- force-app/main/default/lwc/customAccountUrlComp/customAccountUrlComp.html | 16 +++++++--------- 1 files changed, 7 insertions(+), 9 deletions(-) diff --git a/force-app/main/default/lwc/customAccountUrlComp/customAccountUrlComp.html b/force-app/main/default/lwc/customAccountUrlComp/customAccountUrlComp.html index ce635b7..590c111 100644 --- a/force-app/main/default/lwc/customAccountUrlComp/customAccountUrlComp.html +++ b/force-app/main/default/lwc/customAccountUrlComp/customAccountUrlComp.html @@ -1,10 +1,8 @@ <template> - <template if:false={isDisable}> - <lightning-formatted-url - value={accountUrl} - label={accountName} - target="_blank" - ></lightning-formatted-url> - </template> - <template if:true={isDisable}> {accountName} </template> -</template> + <template if:false={isDisable}> + <lightning-formatted-url value={accountUrl} label={accountName} target="_blank"></lightning-formatted-url> + </template> + <template if:true={isDisable}> + {accountName} + </template> +</template> \ No newline at end of file -- Gitblit v1.9.1