From 0f44cb1a0b7b36860e9ce81c1eac9e395d87f0b4 Mon Sep 17 00:00:00 2001 From: buli <137736985@qq.com> Date: 星期一, 05 六月 2023 13:53:18 +0800 Subject: [PATCH] mergecode into lex dtt --- force-app/main/default/lwc/lexCustomTableInput/lexCustomTableInput.html | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/force-app/main/default/lwc/lexCustomTableInput/lexCustomTableInput.html b/force-app/main/default/lwc/lexCustomTableInput/lexCustomTableInput.html index 7678af3..be0a1af 100644 --- a/force-app/main/default/lwc/lexCustomTableInput/lexCustomTableInput.html +++ b/force-app/main/default/lwc/lexCustomTableInput/lexCustomTableInput.html @@ -1,3 +1,8 @@ <template> - <lightning-input name="cusInput" label="cusInput" variant="label-hidden" value={inputValue}></lightning-input> + <template if:true={showInputType}> + <lightning-input type="number" name="cusInput" label="cusInput" variant="label-hidden" value={inputValue} onchange={valueChange} onblur={blurInput}></lightning-input> + </template> + <template if:false={showInputType}> + <lightning-input name="cusInput" label="cusInput" variant="label-hidden" value={inputValue} onchange={valueChange}></lightning-input> + </template> </template> \ No newline at end of file -- Gitblit v1.9.1