{"action":"created","issue":{"url":"https://api.github.com/repos/Meituan-Dianping/mpvue/issues/780","repository_url":"https://api.github.com/repos/Meituan-Dianping/mpvue","labels_url":"https://api.github.com/repos/Meituan-Dianping/mpvue/issues/780/labels{/name}","comments_url":"https://api.github.com/repos/Meituan-Dianping/mpvue/issues/780/comments","events_url":"https://api.github.com/repos/Meituan-Dianping/mpvue/issues/780/events","html_url":"https://github.com/Meituan-Dianping/mpvue/issues/780","id":343326124,"node_id":"MDU6SXNzdWUzNDMzMjYxMjQ=","number":780,"title":"最新的mpvue-loader导致macOS 下 static下的图片路径没有正确生成","user":{"login":"smoothdvd","id":22420,"node_id":"MDQ6VXNlcjIyNDIw","avatar_url":"https://avatars1.githubusercontent.com/u/22420?v=4","gravatar_id":"","url":"https://api.github.com/users/smoothdvd","html_url":"https://github.com/smoothdvd","followers_url":"https://api.github.com/users/smoothdvd/followers","following_url":"https://api.github.com/users/smoothdvd/following{/other_user}","gists_url":"https://api.github.com/users/smoothdvd/gists{/gist_id}","starred_url":"https://api.github.com/users/smoothdvd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smoothdvd/subscriptions","organizations_url":"https://api.github.com/users/smoothdvd/orgs","repos_url":"https://api.github.com/users/smoothdvd/repos","events_url":"https://api.github.com/users/smoothdvd/events{/privacy}","received_events_url":"https://api.github.com/users/smoothdvd/received_events","type":"User","site_admin":false},"labels":[{"id":858621315,"node_id":"MDU6TGFiZWw4NTg2MjEzMTU=","url":"https://api.github.com/repos/Meituan-Dianping/mpvue/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"open","locked":false,"assignee":{"login":"aOrz","id":6347990,"node_id":"MDQ6VXNlcjYzNDc5OTA=","avatar_url":"https://avatars1.githubusercontent.com/u/6347990?v=4","gravatar_id":"","url":"https://api.github.com/users/aOrz","html_url":"https://github.com/aOrz","followers_url":"https://api.github.com/users/aOrz/followers","following_url":"https://api.github.com/users/aOrz/following{/other_user}","gists_url":"https://api.github.com/users/aOrz/gists{/gist_id}","starred_url":"https://api.github.com/users/aOrz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aOrz/subscriptions","organizations_url":"https://api.github.com/users/aOrz/orgs","repos_url":"https://api.github.com/users/aOrz/repos","events_url":"https://api.github.com/users/aOrz/events{/privacy}","received_events_url":"https://api.github.com/users/aOrz/received_events","type":"User","site_admin":false},"assignees":[{"login":"aOrz","id":6347990,"node_id":"MDQ6VXNlcjYzNDc5OTA=","avatar_url":"https://avatars1.githubusercontent.com/u/6347990?v=4","gravatar_id":"","url":"https://api.github.com/users/aOrz","html_url":"https://github.com/aOrz","followers_url":"https://api.github.com/users/aOrz/followers","following_url":"https://api.github.com/users/aOrz/following{/other_user}","gists_url":"https://api.github.com/users/aOrz/gists{/gist_id}","starred_url":"https://api.github.com/users/aOrz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aOrz/subscriptions","organizations_url":"https://api.github.com/users/aOrz/orgs","repos_url":"https://api.github.com/users/aOrz/repos","events_url":"https://api.github.com/users/aOrz/events{/privacy}","received_events_url":"https://api.github.com/users/aOrz/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2018-07-21T13:20:38Z","updated_at":"2018-07-23T03:08:52Z","closed_at":null,"author_association":"NONE","body":"# [问题简单描述]\r\nmacOS 下 static下的图片路径没有正确生成\r\n**问题复现步骤:**\r\n\r\n1. [第一步]\r\n图片放在 /static/images/a.jpg 目录中\r\n\r\n2. [第二步]\r\n在/src/pages/index/index.vue中加入\r\n```\r\n<img src=\"../../../static/images/a.jpg\" />\r\n```\r\n\r\n3. [其他步骤...]\r\n\r\n**期望的表现:**\r\n小程序应该编译成\r\n```\r\n<image class=\"_img data-v-01991be6\" mode=\"aspectFill\" src=\"/static/images/a.jpg\"></image>\r\n```\r\n\r\n**观察到的表现:**\r\n```\r\n<image class=\"_img data-v-01991be6\" mode=\"aspectFill\" src=\"/Volumes/SSD/Dev/myproject/dist/static/images/a.jpg\"></image>\r\n```\r\n\r\n变成了文件系统的绝对路径"},"comment":{"url":"https://api.github.com/repos/Meituan-Dianping/mpvue/issues/comments/406926632","html_url":"https://github.com/Meituan-Dianping/mpvue/issues/780#issuecomment-406926632","issue_url":"https://api.github.com/repos/Meituan-Dianping/mpvue/issues/780","id":406926632,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjkyNjYzMg==","user":{"login":"aOrz","id":6347990,"node_id":"MDQ6VXNlcjYzNDc5OTA=","avatar_url":"https://avatars1.githubusercontent.com/u/6347990?v=4","gravatar_id":"","url":"https://api.github.com/users/aOrz","html_url":"https://github.com/aOrz","followers_url":"https://api.github.com/users/aOrz/followers","following_url":"https://api.github.com/users/aOrz/following{/other_user}","gists_url":"https://api.github.com/users/aOrz/gists{/gist_id}","starred_url":"https://api.github.com/users/aOrz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aOrz/subscriptions","organizations_url":"https://api.github.com/users/aOrz/orgs","repos_url":"https://api.github.com/users/aOrz/repos","events_url":"https://api.github.com/users/aOrz/events{/privacy}","received_events_url":"https://api.github.com/users/aOrz/received_events","type":"User","site_admin":false},"created_at":"2018-07-23T03:08:52Z","updated_at":"2018-07-23T03:08:52Z","author_association":"MEMBER","body":"试下：+ mpvue-loader@1.1.2-rc.1"}}
{"actor":{"display_login":"aOrz"}}