Skip to content

Commit

Permalink
Merge pull request #250 from InfinityPacer/v2
Browse files Browse the repository at this point in the history
  • Loading branch information
jxxghp authored Nov 24, 2024
2 parents f06cca4 + c9b0b23 commit 2deaec1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/components/cards/DownloaderCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { useToast } from 'vue-toast-notification'
import type { DownloaderInfo } from '@/api/types'
import qbittorrent_image from '@images/logos/qbittorrent.png'
import transmission_image from '@images/logos/transmission.png'
import {cloneDeep} from "lodash";
import { cloneDeep } from 'lodash'
// 定义输入
const props = defineProps({
Expand Down Expand Up @@ -211,11 +211,9 @@ onUnmounted(() => {
<VTextField
v-model="downloaderInfo.config.username"
label="用户名"
placeholder="admin"
hint="登录使用的用户名"
persistent-hint
active
:rules="[(v: string) => !!v || '用户名不能为空', (v: string) => v.length >= 3 || '用户名不得小于三个字符']"
/>
</VCol>
<VCol cols="12" md="6">
Expand Down Expand Up @@ -290,7 +288,6 @@ onUnmounted(() => {
<VTextField
v-model="downloaderInfo.config.username"
label="用户名"
placeholder="admin"
hint="登录使用的用户名"
persistent-hint
active
Expand Down

0 comments on commit 2deaec1

Please sign in to comment.