begmoon 1 månad sedan
förälder
incheckning
cf59345a7a
3 ändrade filer med 8 tillägg och 6 borttagningar
  1. 1 0
      src/views/data/index.vue
  2. 2 2
      src/views/match/addChampionSay.vue
  3. 5 4
      src/views/user/index.vue

+ 1 - 0
src/views/data/index.vue

@@ -191,6 +191,7 @@
                         <el-button @click="editComment(scope.row)" size="mini" type="primary">点评</el-button>
                         <el-button @click="edit(scope.row)" size="mini" type="warning">编辑</el-button>
                         <el-button @click="del(scope.row)" size="mini" type="danger">删除</el-button>
+                        <!-- <el-button @click="free(scope.row)" size="mini" type="danger">免费</el-button> -->
                     </template>
                 </el-table-column>
         </el-table>

+ 2 - 2
src/views/match/addChampionSay.vue

@@ -312,13 +312,13 @@
       beforeAvatarUpload(file) {
         return;
         const isJPG = file.type === "image/jpeg";
-        const isLt2M = file.size / 1024 / 1024 < 2;
+        const isLt2M = file.size / 1024 / 1024 < 5;
 
         if (!isJPG) {
           this.$message.error("上传头像图片只能是 JPG 格式!");
         }
         if (!isLt2M) {
-          this.$message.error("上传头像图片大小不能超过 2MB!");
+          this.$message.error("上传头像图片大小不能超过 5MB!");
         }
         return isJPG && isLt2M;
       },

+ 5 - 4
src/views/user/index.vue

@@ -216,10 +216,11 @@
           </el-upload>
           <span style="color:red;">尺寸要求100*100</span>
         </el-form-item>
-        <el-form-item label="用户简介">
-          <el-form-item v-loading="loading" class="detail">
-            <fuEditor v-model="form.intro" :isClear="false" @change="change"></fuEditor>
-          </el-form-item>
+        <el-form-item label="用户简介" style="width:100%">
+          <!-- <el-form-item v-loading="loading" class="detail"> -->
+            <!-- <fuEditor v-model="form.intro" :isClear="false" @change="change"></fuEditor> -->
+            <el-input type="textarea" clearable v-model="form.intro" placeholder="请输入简介" rows="10" style="width:500px"></el-input>
+          <!-- </el-form-item> -->
         </el-form-item>
       </el-form>
       <div slot="footer" class="dialog-footer">