Skip to content

Commit aa37021

Browse files
committed
【功能修复】公众号:图片上传时,accountId 参数不正确的问题
1 parent c56eecc commit aa37021

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/mp/draft/components/NewsForm.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ const accountId = inject<number>('accountId')
144144
145145
// ========== 文件上传 ==========
146146
const UPLOAD_URL = import.meta.env.VITE_BASE_URL + '/admin-api/mp/material/upload-permanent' // 上传永久素材的地址
147-
const editorConfig = createEditorConfig(UPLOAD_URL, accountId)
147+
const editorConfig = createEditorConfig(UPLOAD_URL, unref(accountId))
148148
149149
// v-model=newsList
150150
const emit = defineEmits<{

0 commit comments

Comments
 (0)