分享图片优化
This commit is contained in:
@@ -11,7 +11,7 @@ const store = useStore();
|
||||
const { user } = storeToRefs(store);
|
||||
|
||||
onLoad(async (options) => {
|
||||
const id = options.id || 462;
|
||||
const id = options.id || 461;
|
||||
const data = await getPractiseAPI(id);
|
||||
if (!data.arrows.length) return;
|
||||
generateCanvasImage("shareCanvas", options.type, user.value, data);
|
||||
@@ -43,7 +43,7 @@ const saveImage = () => {
|
||||
<view class="content">
|
||||
<view :style="{ overflow: 'hidden', borderRadius: '10px' }">
|
||||
<canvas
|
||||
:style="{ width: '300px', height: '530px' }"
|
||||
:style="{ width: '300px', height: '534px' }"
|
||||
canvas-id="shareCanvas"
|
||||
></canvas>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user