|
|
@@ -231,8 +231,8 @@ export default {
|
|
|
// 添加地址水印
|
|
|
if (address) {
|
|
|
let addressText = address;
|
|
|
- if (address.length > 12) {
|
|
|
- addressText = address.substring(0, 12) + '...';
|
|
|
+ if (address.length > 20) {
|
|
|
+ addressText = address.substring(0, 20) + '...';
|
|
|
}
|
|
|
ctx.fillText(addressText, width - 20, height - 15);
|
|
|
}
|