{"action":"opened","issue":{"url":"https://api.github.com/repos/RubyLouvre/avalon.oniui/issues/648","labels_url":"https://api.github.com/repos/RubyLouvre/avalon.oniui/issues/648/labels{/name}","comments_url":"https://api.github.com/repos/RubyLouvre/avalon.oniui/issues/648/comments","events_url":"https://api.github.com/repos/RubyLouvre/avalon.oniui/issues/648/events","html_url":"https://github.com/RubyLouvre/avalon.oniui/issues/648","id":87247174,"number":648,"title":"如果配置了require的baseUrl，组件内的相对路径就不正确了","user":{"login":"zzbcoder","id":2271825,"avatar_url":"https://avatars.githubusercontent.com/u/2271825?v=3","gravatar_id":"","url":"https://api.github.com/users/zzbcoder","html_url":"https://github.com/zzbcoder","followers_url":"https://api.github.com/users/zzbcoder/followers","following_url":"https://api.github.com/users/zzbcoder/following{/other_user}","gists_url":"https://api.github.com/users/zzbcoder/gists{/gist_id}","starred_url":"https://api.github.com/users/zzbcoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zzbcoder/subscriptions","organizations_url":"https://api.github.com/users/zzbcoder/orgs","repos_url":"https://api.github.com/users/zzbcoder/repos","events_url":"https://api.github.com/users/zzbcoder/events{/privacy}","received_events_url":"https://api.github.com/users/zzbcoder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-11T07:41:03Z","updated_at":"2015-06-11T07:41:03Z","closed_at":null,"body":"![image](https://cloud.githubusercontent.com/assets/2271825/8102106/022b1b20-1050-11e5-8426-c3af58fa7b98.png)\r\n\r\nrequire.config({\r\n\tbaseUrl: \"modules\",\r\n        path:{\r\n           \"avalon.mmState\": _avalon + \"mmRouter/mmState\",\r\n       }\r\n})\r\n\r\n![Uploading image.png…]()\r\n\r\nrequire(\"avalon.mmState\") 就会找不到，因为路径已经错了，有什么好的解决方案吗？\r\n"}}