chore: update eslint && lint code

This commit is contained in:
Jere
2019-03-17 17:40:51 +08:00
committed by 花裤衩
parent 8d242a002f
commit b8d47bd847
112 changed files with 592 additions and 299 deletions

View File

@@ -5,20 +5,22 @@
{{ $t('components.imageUploadTips') }}
</code>
<pan-thumb :image="image"/>
<pan-thumb :image="image" />
<el-button type="primary" icon="upload" style="position: absolute;bottom: 15px;margin-left: 40px;" @click="imagecropperShow=true">Change Avatar
<el-button type="primary" icon="upload" style="position: absolute;bottom: 15px;margin-left: 40px;" @click="imagecropperShow=true">
Change Avatar
</el-button>
<image-cropper
v-show="imagecropperShow"
:key="imagecropperKey"
:width="300"
:height="300"
:key="imagecropperKey"
url="https://httpbin.org/post"
lang-type="en"
@close="close"
@crop-upload-success="cropSuccess"/>
@crop-upload-success="cropSuccess"
/>
</div>
</template>