Commit 6f73bd8b authored by nick zheng's avatar nick zheng

fix: 应用无上限不提示弹窗

parent 5f4ea8e0
...@@ -360,7 +360,11 @@ async function handleEquityInfoValidate() { ...@@ -360,7 +360,11 @@ async function handleEquityInfoValidate() {
await userStore.fetchUpdateEquityInfo() await userStore.fetchUpdateEquityInfo()
if (userStore.equityInfo.usedAgentCount >= userStore.equityInfo.maxAgentCount && !baseInfo.value.agentId) { if (
userStore.equityInfo.usedAgentCount >= userStore.equityInfo.maxAgentCount &&
userStore.equityInfo.maxAgentCount !== 0 &&
!baseInfo.value.agentId
) {
window.$message window.$message
.ctWarning(t('equity_module.agents_created_exceeds_tip'), '', t('common_module.back')) .ctWarning(t('equity_module.agents_created_exceeds_tip'), '', t('common_module.back'))
.then(() => { .then(() => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment