Browse Source

修复了在QQ浏览器状态下系统title不显示,并且系统名称目前最大只能输入13个中文

Sanmu8 1 year ago
parent
commit
83bd2ab184
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/sys/index.vue

+ 1 - 1
src/views/sys/index.vue

@@ -28,7 +28,7 @@
     <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
       <el-form ref="form" :model="form" :rules="rules" label-width="120px">
         <el-form-item label="系统名称">
-          <el-input v-model="form.systemName" placeholder="请输入系统名称"></el-input>
+          <el-input v-model="form.systemName" placeholder="请输入系统名称" maxlength="13"></el-input>
         </el-form-item>
         <el-form-item label="系统背景图">
           <el-upload action="#" list-type="picture-card" :limit="1" :auto-upload="true" :http-request="httprequest" :before-upload="beforeupload" :file-list="fileList">