Compare commits
No commits in common. "7e96b80a38f7719d63b8d4a2f21f90e9868477b1" and "57f9c804c91f5db3ebc685a0599ba4ff8594d712" have entirely different histories.
7e96b80a38
...
57f9c804c9
@ -71,6 +71,17 @@
|
||||
登录
|
||||
</a-button>
|
||||
</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>
|
||||
|
||||
<!-- 测试账号 -->
|
||||
@ -132,6 +143,11 @@ const formState = reactive({
|
||||
|
||||
const loading = ref(false);
|
||||
|
||||
const currentRoleLabel = computed(() => {
|
||||
const found = roles.find(r => r.value === formState.role);
|
||||
return found ? found.label : '';
|
||||
});
|
||||
|
||||
const selectRole = (role: string) => {
|
||||
formState.role = role;
|
||||
};
|
||||
@ -391,6 +407,13 @@ $bg-cream: #FEFEFE;
|
||||
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