在一个新增的add.html 需要把一个参数传给save后台方法。这个参数是从别的页面获得的,需要setAttr才能在add.html看到值。

如果想再从后台拿到该值必须,与数据库的对应字段名称一样才行。不然直接getPara()通过name是拿不到值的。

切记

参考: https://blog.csdn.net/chensi16114/article/details/78814545

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-03
  • 2021-06-13
猜你喜欢
  • 2022-12-23
  • 2021-08-02
  • 2021-10-02
  • 2021-12-23
  • 2021-12-25
  • 2021-12-19
  • 2022-01-07
相关资源
相似解决方案