Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Upload): fix image upload in wxwork #5581

Merged
merged 4 commits into from
Nov 6, 2023

Conversation

johnsonwong666
Copy link
Collaborator

#5555
企业微信中图片上传使用wx.chooseImage

@@ -115,3 +115,7 @@ export function getCurrentPage<T>() {
}

export const isPC = ['mac', 'windows'].includes(getSystemInfoSync().platform);

// @ts-ignore
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个 ts-ignore 的原因是?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

如果微信的 type 没有这个类型,可以自己扩展一下,还是避免使用 ignore

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

如果微信的 type 没有这个类型,可以自己扩展一下,还是避免使用 ignore

声明了一个新的type

@landluck landluck merged commit f98cf75 into youzan:dev Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants