fix eslint warning

This commit is contained in:
Pan
2017-04-29 16:29:37 +08:00
parent da9d9332b4
commit 785c3beaf5
8 changed files with 106 additions and 117 deletions

View File

@@ -6,7 +6,7 @@
<script>
import Dropzone from 'dropzone';
import 'dropzone/dist/dropzone.css';
import { getToken } from 'api/qiniu';
// import { getToken } from 'api/qiniu';
Dropzone.autoDiscover = false;
@@ -69,6 +69,7 @@
},
sending: (file, xhr, formData) => {
/* 七牛*/
console.log(file, xhr, formData)
// formData.append('token', file.token);
// formData.append('key', file.key);
vm.initOnce = false;

View File

@@ -63,11 +63,6 @@
return this.active ? 'col-resize' : ''
}
},
mounted() {
const element = this.$el;
const elementOffset = element.getBoundingClientRect();
// this.height = elementOffset.height+'px';
},
methods: {
onClick() {
if (!this.hasMoved) {

View File

@@ -19,7 +19,7 @@
import editorVideo from './components/editorVideo';
import editorSlide from './components/editorSlide';
import editorImage from './components/editorImage';
import { getToken, upload } from 'api/qiniu'; // 七牛
// import { getToken, upload } from 'api/qiniu'; // 七牛
// 业务需求可删除
export default {
name: 'tinymce',