diff --git a/ruoyi-admin/src/main/resources/templates/system/user/resetUeky.html b/ruoyi-admin/src/main/resources/templates/system/user/resetUeky.html index 9113e0ca..73d6495a 100644 --- a/ruoyi-admin/src/main/resources/templates/system/user/resetUeky.html +++ b/ruoyi-admin/src/main/resources/templates/system/user/resetUeky.html @@ -87,10 +87,14 @@ }); } function select_cert(value) { - $("#id_selected_cert_id").val(value); + if(value){ + $("#id_selected_cert_id").val(value); + } } function select_device(value) { - $("#id_selected_device_sn").val(value); + if(value){ + $("#id_selected_device_sn").val(value); + } } SetUserCertList("id_cert_list"); FillDeviceList();