Explorar el Código

修改个人生平模板页

Alex hace 4 años
padre
commit
f558d701bc
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/views/template/t1.vue

+ 2 - 2
src/views/template/t1.vue

@@ -96,7 +96,7 @@
               :border="true"
               :border="true"
               :data="modelOptions" 
               :data="modelOptions" 
               highlight-current-row 
               highlight-current-row 
-              @current-change="handleCurrentChange">
+              @current-change="modelCurrentChange">
               <el-table-column label="选择留言" prop="contents"> </el-table-column>
               <el-table-column label="选择留言" prop="contents"> </el-table-column>
             </el-table>
             </el-table>
           </div>
           </div>
@@ -182,7 +182,7 @@ export default {
         this.modelOptions = res.data;
         this.modelOptions = res.data;
       });
       });
     },
     },
-    handleCurrentChange(row){
+    modelCurrentChange(row){
       this.messageForm.contents = row.contents;
       this.messageForm.contents = row.contents;
     },
     },
     handleSizeChange: function(size) {
     handleSizeChange: function(size) {