完成生成靶子数据图片的头部
This commit is contained in:
@@ -85,14 +85,14 @@ const loading = ref(false);
|
||||
const shareImage = async () => {
|
||||
if (loading.value) return;
|
||||
loading.value = true;
|
||||
await generateShareImage("shareImageCanvas");
|
||||
await generateShareImage("shareImageCanvas", record.value);
|
||||
await wxShare("shareImageCanvas");
|
||||
loading.value = false;
|
||||
};
|
||||
|
||||
onLoad(async (options) => {
|
||||
if (options.id) {
|
||||
const result = await getPointBookDetailAPI(options.id || 209);
|
||||
const result = await getPointBookDetailAPI(options.id || 222);
|
||||
record.value = result;
|
||||
notes.value = result.remark || "";
|
||||
const config = uni.getStorageSync("point-book-config");
|
||||
|
||||
Reference in New Issue
Block a user