删除自动化一键登录按钮
This commit is contained in:
parent
f25664cf9a
commit
1f6bd41b64
@ -71,17 +71,6 @@
|
|||||||
登录
|
登录
|
||||||
</a-button>
|
</a-button>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
|
|
||||||
<a-form-item>
|
|
||||||
<a-button
|
|
||||||
size="large"
|
|
||||||
block
|
|
||||||
class="quick-test-btn"
|
|
||||||
@click="handleQuickTest"
|
|
||||||
>
|
|
||||||
一键测试({{ currentRoleLabel }}账号)
|
|
||||||
</a-button>
|
|
||||||
</a-form-item>
|
|
||||||
</a-form>
|
</a-form>
|
||||||
|
|
||||||
<!-- 测试账号 -->
|
<!-- 测试账号 -->
|
||||||
@ -143,11 +132,6 @@ const formState = reactive({
|
|||||||
|
|
||||||
const loading = ref(false);
|
const loading = ref(false);
|
||||||
|
|
||||||
const currentRoleLabel = computed(() => {
|
|
||||||
const found = roles.find(r => r.value === formState.role);
|
|
||||||
return found ? found.label : '';
|
|
||||||
});
|
|
||||||
|
|
||||||
const selectRole = (role: string) => {
|
const selectRole = (role: string) => {
|
||||||
formState.role = role;
|
formState.role = role;
|
||||||
};
|
};
|
||||||
@ -407,13 +391,6 @@ $bg-cream: #FEFEFE;
|
|||||||
transform: translateY(0);
|
transform: translateY(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.quick-test-btn {
|
|
||||||
height: 44px;
|
|
||||||
border-radius: 12px;
|
|
||||||
font-size: 14px;
|
|
||||||
margin-top: 4px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 测试账号 - 暂时隐藏
|
// 测试账号 - 暂时隐藏
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user