Skip to content

Commit 6ad9bd8

Browse files
committed
refactor: 优化代码
1 parent b06924b commit 6ad9bd8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ui/src/views/chat/auth/component/password.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,12 @@
1111
top="25vh"
1212
center
1313
:modal="true"
14-
@click.stop
1514
>
16-
<el-form ref="FormRef" :model="form" @submit.prevent="validator" @click.stop>
15+
<el-form ref="FormRef" :model="form" @submit.prevent="validator">
1716
<el-form-item prop="value" :rules="rules.value">
1817
<el-input show-password v-model="form.value" />
1918
</el-form-item>
20-
<el-button class="w-full mt-8" type="primary" @click.stop="validator" :loading="loading"
19+
<el-button class="w-full mt-8" type="primary" @click="validator" :loading="loading"
2120
>确定</el-button
2221
>
2322
</el-form>

0 commit comments

Comments
 (0)