Skip to content

Commit

Permalink
Merge pull request #7 from alongw/dev
Browse files Browse the repository at this point in the history
feat: update some style
  • Loading branch information
alongw authored May 27, 2024
2 parents e980021 + 7722ce6 commit c2614ca
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions service/src/hook/useLogs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const useLoginLogs = (uid: USER_UID_TYPE) => {
data: logs.map((e) => {
return {
login_id: e.id,
login_ip: e.ip,
login_ip: e.ip.includes(',') ? e.ip.split(',')[0] : e.ip,
login_time: e.time,
login_type: e.type,
login_result: e.result,
Expand Down Expand Up @@ -92,7 +92,7 @@ export const useAuthLogs = (uid: USER_UID_TYPE) => {
return {
auth_id: e.id,
auth_appid: e.appid,
auth_ip: e.ip,
auth_ip: e.ip.includes(',') ? e.ip.split(',')[0] : e.ip,
auth_time: e.time,
auth_expire: e.exp,
auth_ua: e.ua,
Expand Down
2 changes: 1 addition & 1 deletion web/src/page/Console/Application/Management.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const handleSubmitReview = () => {
ref="select"
v-model:value="selectedKeys"
:options="selectedOptions"
style="width: 100%"
style="min-width: 200px"
@change="handleSelectChange"
/>
<a-button
Expand Down
2 changes: 1 addition & 1 deletion web/src/page/Console/Edit/Authenticator.vue
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ onMounted(async () => {
<a-input v-model:value="createName" :maxlength="16" autofocus />
<p>验证器名称不得超过16个字符</p>
</a-form-item>
<a-typography-paragraph> 由于涉及敏感参照,本次操作需要验证码 </a-typography-paragraph>
<a-typography-paragraph> 由于涉及敏感操作,本次操作需要验证码 </a-typography-paragraph>
<a-form-item label="邮件验证码">
<a-space>
<a-input v-model:value="createMailCode" />
Expand Down

0 comments on commit c2614ca

Please sign in to comment.