From ce6b5be6c0e1544bcc66f9fce9efec3ced724d95 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期六, 11 七月 2020 15:46:29 +0800 Subject: [PATCH] # --- src/main/webapp/views/user/user.html | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/webapp/views/user/user.html b/src/main/webapp/views/user/user.html index e50b9b5..5c4c396 100644 --- a/src/main/webapp/views/user/user.html +++ b/src/main/webapp/views/user/user.html @@ -59,7 +59,7 @@ </script> <script type="text/html" id="statusTpl"> - <input type="checkbox" name="status" value="{{d.status}}" lay-skin="switch" lay-text="姝e父|绂佺敤" lay-filter="statusSwitch" {{ d.id == 1 ? 'checked' : '' }}> + <input type="checkbox" name="status" value="{{d.status}}" lay-skin="switch" lay-text="姝e父|绂佺敤" lay-filter="statusSwitch" {{ d.status === 1 ? 'checked' : '' }}> </script> <script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script> -- Gitblit v1.9.1