Commit b80d2800 authored by 李俊赕's avatar 李俊赕

问题修复

parent 975c9ef5
......@@ -150,9 +150,9 @@ export default {
},
onShow: function () {
if (!this.globalData.token) {
// if (!this.globalData.token) {
this.autoLogin()
}
// }
},
methods: {
getSystemInfo() {
......
<template>
<view>
<view class="contentView">
<u-image class="pic" :src="files[0]" bg-color="transparent"></u-image>
<!-- <image class="pic" :src="files[0]" v-lazy mode="aspectFit" @click="showPreviewFn"></image> -->
<u-image class="pic" :src="files[0]" bg-color="transparent" @click="showPreviewFn"></u-image>
<!-- <image class="pic" :src="files[0]" v-lazy mode="aspectFit"></image> -->
</view>
<view class="bottomView">
<image class="btn" :src="btn_remake" @click="$u.debounce(remakePhoto, 500)"></image>
......
......@@ -369,8 +369,8 @@
canvas.fillText(txt, 10, canvasHeight - txtHeight * h++);
}else{
if(txt.length>20){
canvas.fillText(txt.substr(18,20), 10, canvasHeight - txtHeight * h++);
canvas.fillText(txt.substr(0,20), 10, canvasHeight - txtHeight * h++);
canvas.fillText(txt.substr(18,21), 10, canvasHeight - txtHeight * h++);
canvas.fillText(txt.substr(0,21), 10, canvasHeight - txtHeight * h++);
}else{
canvas.fillText(txt, 10, canvasHeight - txtHeight * h++);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment