From 117d4f37840c1973fa2ae0c501dc7647786e903b Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: Fri, 20 Mar 2026 09:59:26 +0800
Subject: [PATCH] 修改名字

---
 src/views/login/components/login-form.vue |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/views/login/components/login-form.vue b/src/views/login/components/login-form.vue
index cf5c1c0..d5877c4 100644
--- a/src/views/login/components/login-form.vue
+++ b/src/views/login/components/login-form.vue
@@ -1,7 +1,7 @@
 <template>
   <el-form ref="loginForm" :model="loginForm" :rules="loginRules" :inline="false" class="loginForm" @keydown.enter.native="handleSubmit">
       <div class="title-container">
-          <div class="title">登1录</div>
+          <div class="title">登录</div>
           <div class="loginForm_username">
               <el-row class="loginForm-row">
                   <el-col :span="3">
@@ -51,7 +51,7 @@
           </div>
           <div class="loginForm_check">
               <el-checkbox style="color: #009fda" v-model="checked"></el-checkbox>
-              <span style="color: #009fda" @click="lookAgreement">烟花爆竹流向管理信息和实名登记系统服务须知</span>
+              <span style="color: #009fda;cursor: pointer;" @click="lookAgreement">烟花爆竹安全监管数智化管理平台服务须知</span>
           </div>
           <div class="loginForm_button">
               <el-button class="loginForm_login_button" :loading="logingLoading" :disabled="submitLoading" type="primary" @click.native.prevent="handleSubmit">
@@ -97,6 +97,7 @@
   </el-form>
 </template>
 <script>
+import { Message } from 'element-ui'
 export default {
   name: 'LoginForm',
   props: {
@@ -132,6 +133,10 @@
       }
     },
     handleSubmit() {
+      if(!this.checked){
+        Message.error('请勾选服务须知')
+        return
+      }
       this.$refs.loginForm.validate((valid) => {
         if (valid) {
           this.$emit('on-success-valid', this.loginForm)

--
Gitblit v1.9.2