[AI Generated]: feat(Comp): 重写用户同步逻辑支持主子用户、移除callWithTimeout、新增用户上限10人及主用户删除保护

This commit is contained in:
17792275749
2026-04-13 13:21:59 +08:00
parent 4e2e8fb899
commit 4fc829a81f
9 changed files with 118 additions and 264 deletions
@@ -8,8 +8,8 @@
<view>添加用户</view>
</view>
<view class="seaction">
<!-- 用户类型切换 -->
<view class="select">
<!-- 用户类型切换(主用户模式下隐藏) -->
<view class="select" wx:if="{{!isFirstUser}}">
<view
class="{{userType === 'employee' ? 'selectActive' : ''}}"
bindtap="switchUserType"