zhangyanpeng
2020-01-22 553c364ad7c793ac20583407d9f45a9cb96d3da2
src/components/square.vue
@@ -71,6 +71,7 @@
        :limit="3"
        :auto-upload='false'
        ref="upload"
         :on-change="onChange"
        :on-exceed="handleExceed"
        :file-list="fileList">
        <el-button size="small" type="primary">点击上传</el-button>
@@ -132,6 +133,9 @@
         this.getData();
      },
      methods: {
         onChange(file, fileList) {
            this.fileList = fileList;
         },
         createTopic() {
            let me = this;
            var userId = localStorage.getItem('userId');