在js文件中如何获取basepath处理js路径问题_javascript技巧