js注释后Failed to load resource: the server responded with a status of 404 (Not Found)

画面输入框对应内容长度限制的js内容进行注释(在controller.js中进行注释)后,画面出现Failed to load resource: the server responded with a status of 404 (Not Found)

利用:

/* $("#upClassCar").formValidator().regexValidator({。。。});*/

进行注释后报错,找不到对应action。

更改为:  

// $("#upClassCar").formValidator().regexValidator({
// min:0,
// max:1000,
// regexp:regexEnum.intege1,
// onerror:vFixSizeAlert('0-4','intege1','接班结存')
// });

不在报错。

猜你喜欢

转载自blog.csdn.net/qq_37992560/article/details/79035258