fix(工作台): 名称过长导致超出显示范围

This commit is contained in:
dataeaseShu
2025-09-26 10:07:00 +08:00
committed by dataeaseShu
parent 92bcf721a9
commit 9f86f16c9f
2 changed files with 9 additions and 3 deletions

View File

@@ -182,8 +182,12 @@ defineExpose({
</el-form>
<template #footer>
<span class="dialog-footer">
<el-button @click="resetForm(dingtalkForm)">{{ t('common.cancel') }}</el-button>
<el-button :disabled="!state.form.id || !state.form.domain" @click="validateHandlerOnly">
<el-button secondary @click="resetForm(dingtalkForm)">{{ t('common.cancel') }}</el-button>
<el-button
secondary
:disabled="!state.form.id || !state.form.domain"
@click="validateHandlerOnly"
>
{{ t('commons.validate') }}
</el-button>
<el-button type="primary" @click="submitForm(dingtalkForm)">

View File

@@ -311,7 +311,9 @@ loadShareBase()
</el-icon>
<div class="info">
<div class="name-role flex-align-center">
<span class="name">{{ userStore.getName }}</span>
<span :title="userStore.getName" style="max-width: 200px" class="name ellipsis">{{
userStore.getName
}}</span>
<span class="role main-btn" />
</div>
<span v-if="userStore.getUid" class="id"> {{ `ID: ${userStore.getUid}` }} </span>