diff --git a/extension/lite/user/ext/lang/zh-cn/lite.php b/extension/lite/user/ext/lang/zh-cn/lite.php index d2f5818794..1617abafa0 100644 --- a/extension/lite/user/ext/lang/zh-cn/lite.php +++ b/extension/lite/user/ext/lang/zh-cn/lite.php @@ -1,2 +1,3 @@ user->task = '任务'; +$lang->user->noticeFeedbackUserLimit = "迅捷企业版用户数已经达到授权的上限,不能继续添加用户!"; diff --git a/extension/lite/user/ext/view/batchcreate.lite.html.hook.php b/extension/lite/user/ext/view/batchcreate.lite.html.hook.php index e18f1365c1..59dcd3daa2 100644 --- a/extension/lite/user/ext/view/batchcreate.lite.html.hook.php +++ b/extension/lite/user/ext/view/batchcreate.lite.html.hook.php @@ -37,7 +37,9 @@ $(function() if($.inArray("ditto", visions) == '-1') lastVision = visions; visions = lastVision; - + + if(visions == undefined) visions = ['lite']; + var index = $.inArray('lite', visions); if(index != '-1' && visions.length == '1') @@ -51,8 +53,6 @@ $(function() } }); - console.log(allLiteCount); - console.log(liteMaxCount); if(allUserCount > userMaxCount) { alert(noticeUserCreate.replace('%usercount%', allUserCount));