From b7e956079a9cb378ff43ea620fef07223e4e75af Mon Sep 17 00:00:00 2001 From: SukkaW Date: Tue, 13 Aug 2019 21:06:59 +0800 Subject: [PATCH] fix(#750): fail to pass param to fucntion --- resources/views/material/user/bought.tpl | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/resources/views/material/user/bought.tpl b/resources/views/material/user/bought.tpl index e16d35e9..45cb6591 100755 --- a/resources/views/material/user/bought.tpl +++ b/resources/views/material/user/bought.tpl @@ -58,8 +58,7 @@ renew==0}disabled{else}href="javascript:void(0);" - onClick="delete_modal_show('{$shop->id}')"{/if}>关闭自动续费 + {if $shop->renew==0}disabled{else}href="javascript:void(0);" onClick="delete_modal_show('{$shop->id}')"{/if}>关闭自动续费 @@ -112,18 +111,18 @@