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

问题修复

parent 975c9ef5
...@@ -150,9 +150,9 @@ export default { ...@@ -150,9 +150,9 @@ export default {
}, },
onShow: function () { onShow: function () {
if (!this.globalData.token) { // if (!this.globalData.token) {
this.autoLogin() this.autoLogin()
} // }
}, },
methods: { methods: {
getSystemInfo() { getSystemInfo() {
......
<template> <template>
<view> <view>
<view class="contentView"> <view class="contentView">
<u-image class="pic" :src="files[0]" bg-color="transparent"></u-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" @click="showPreviewFn"></image> --> <!-- <image class="pic" :src="files[0]" v-lazy mode="aspectFit"></image> -->
</view> </view>
<view class="bottomView"> <view class="bottomView">
<image class="btn" :src="btn_remake" @click="$u.debounce(remakePhoto, 500)"></image> <image class="btn" :src="btn_remake" @click="$u.debounce(remakePhoto, 500)"></image>
......
...@@ -369,8 +369,8 @@ ...@@ -369,8 +369,8 @@
canvas.fillText(txt, 10, canvasHeight - txtHeight * h++); canvas.fillText(txt, 10, canvasHeight - txtHeight * h++);
}else{ }else{
if(txt.length>20){ if(txt.length>20){
canvas.fillText(txt.substr(18,20), 10, canvasHeight - txtHeight * h++); canvas.fillText(txt.substr(18,21), 10, canvasHeight - txtHeight * h++);
canvas.fillText(txt.substr(0,20), 10, canvasHeight - txtHeight * h++); canvas.fillText(txt.substr(0,21), 10, canvasHeight - txtHeight * h++);
}else{ }else{
canvas.fillText(txt, 10, canvasHeight - txtHeight * h++); 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