我本飞扬521 发表于 2016-4-20 10:50:58

重新自定义命名controller.js和路由controller.js会冲突?怎么解决

重新自定义命名controller.js和路由首页controller.js两个文件都引入到index.html之后会冲突;app.js里面定义的四个路由切换页面controller就找不到了会报错:Error: Argument 'syController' is not a function, got undefined

怎么解决?难道要把所有的controller写在同一个controller.js里面吗?
页: [1]
查看完整版本: 重新自定义命名controller.js和路由controller.js会冲突?怎么解决