fix: 修改用户状态显示文案- 将"已激活"修改为"已启用"

- 优化用户状态的显示逻辑,保持界面一致性
This commit is contained in:
2025-08-21 16:23:30 +08:00
parent 64dd402bd3
commit 347f0d9970

View File

@@ -22,9 +22,9 @@
</div> </div>
<script type="text/html" id="StatusSwitchTpl"> <script type="text/html" id="StatusSwitchTpl">
<!--{if auth("state")}--> <!--{if auth("state")}-->
<input type="checkbox" value="{{d.id}}" lay-skin="switch" lay-text="{:lang('已激活')}|{:lang('已禁用')}" lay-filter="StatusSwitch" {{-d.status>0?'checked':''}}> <input type="checkbox" value="{{d.id}}" lay-skin="switch" lay-text="{:lang('已启用')}|{:lang('已禁用')}" lay-filter="StatusSwitch" {{-d.status>0?'checked':''}}>
<!--{else}--> <!--{else}-->
{{-d.status ? '<b class="color-green">{:lang("已激活")}</b>' : '<b class="color-red">{:lang("已禁用")}</b>'}} {{-d.status ? '<b class="color-green">{:lang("已启用")}</b>' : '<b class="color-red">{:lang("已禁用")}</b>'}}
<!--{/if}--> <!--{/if}-->
</script> </script>
<script type="text/html" id="ToolbarTpl"> <script type="text/html" id="ToolbarTpl">