上传头像 部分卡片加入模型选择
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
const open = async (options) => {
|
||||
let json = []
|
||||
await new Promise((resolve) => {
|
||||
getSketchFlowCanvas({ id: options.imgId }).then((res:any) => {
|
||||
getSketchFlowCanvas({ id: options.imgId },true).then((res:any) => {
|
||||
if (res) {
|
||||
json = JSON.parse(res)
|
||||
}
|
||||
@@ -34,7 +34,7 @@
|
||||
await new Promise((resolve) => {
|
||||
putSketchFlowCanvas({
|
||||
id: config.value.imgId,
|
||||
canvasData: str }).then(() => {
|
||||
canvasData: str },true).then(() => {
|
||||
resolve(true)
|
||||
}).catch(() => {
|
||||
resolve(true)
|
||||
|
||||
Reference in New Issue
Block a user