Skip to content

在 Preview 中,能否加载本地图片? #380

Answered by charlestang
charlestang asked this question in Q&A
Discussion options

You must be logged in to vote

可以通信的,这种方法我也想过,就是太麻烦了。我现在想的另一个方法就是用node直接在后台启动一个 http 服务,然后推算出 img 所在的网址,然后将 img 都替换成 http 协议的。不过这个也很麻烦。

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@charlestang
Comment options

Answer selected by charlestang
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants