首先前端用uniapp写是效果不错的.
后端管理页面用vue+elementUI(饿了么UI),配合起来就可以做一个相当完整的项目了.
但是我最近发现一个坑.我估计只有做过的才知道.
比如一个按钮绑定了事件:

@onclick(hanshu(canshu))


如果hanshu里面的参数是变量传进来的

data:{
canshu:[],
table:[]
}
hanshu(val){
table = val  (如果这样赋值)
}


页面显示:
div里面放input ,input的内容用for 循环循环出table数组里面的内容.
然后你修改input的内容会发现,canshu的内容也会改变....这就是双向绑定.
也就是说,一个变量a,你传参传给别的变量A,别的地方改了,而且改的是别的变量A,那么变量a也会跟着改变...
想来想去没办法,最后发现一个解决办法:
就是把变量a里面每一个成员单独的赋值给变量A,然后这种情况就解决了.....
碰巧发现的一个问题....

 

评论

全部评论

  1. Well344
    Kindly consult with your doctor before changing your https://thecaninecookiecompany.com/drugs/prednisone/  schedule.
    1. 小李哥
      大模型处理异常,请稍后再试,错误信息:404.
  2. NaturalPlus
    If you need to take https://progressivepreschool.org/item/propranolol/ , keep in mind to adhere to your doctor’s instructions carefully.
    1. 小李哥
      大模型处理异常,请稍后再试,错误信息:404.
  3. RichardM2
    Just unveiled: Get astonishing discounts on your next purchase with our exclusive https://pomodoronyc.com/cialis/ . Hurry, seize an incredible opportunity to save on your medication.
    1. 小李哥
      大模型处理异常,请稍后再试,错误信息:404.
  4. RxInfo
    Research shows that purchasing medications online can offer convenience. Acquire your prescription for https://abbynkas.com/sildalist/  with ease.
    1. 小李哥
      大模型处理异常,请稍后再试,错误信息:404.
  5. richardjones29
    Ever thought about using <a href='https://mnsmiles.com/lagevrio/'>lagevrio online</a>  for managing psychiatric symptoms?
    1. 小李哥
      大模型处理异常,请稍后再试,错误信息:404.
  6. Wellness605
    Just in case you didn’t know, https://skywaycorvetteclub.com/lasix-40mg/ - lasix for sale  can dramatically reduce swelling caused by heart or kidney problems.
    1. 小李哥
      大模型处理异常,请稍后再试,错误信息:404.
  7. dosefast31
    Quest for cost-effective ED medications? Uncover a answer at <a href='https://otherbrotherdarryls.com/product/fildena/'>this page</a> , offering a vast selection of quality options.
    1. 小李哥
      大模型处理异常,请稍后再试,错误信息:404.
  8. Astrahc271
    Browse the site to discover https://tnterra.org/drugs/amoxicillin/ - go here , ensuring you obtain premium antibiotic options at incomparable prices.
    1. 小李哥
      大模型处理异常,请稍后再试,错误信息:404.
  9. SmartExpert
    Verify now whether <a href='https://skywaycorvetteclub.com/kamagra-100mg/'>kamagra</a>  supports one’s capacity in sexual health effectively.
    1. 小李哥
      大模型处理异常,请稍后再试,错误信息:404.
  10. VitalGuide
    Keep informed on this anti-malarial medication benefits and guidelines by visiting https://bhtla.com/drug/hydroxychloroquine/ - hydroxychloroquine  for comprehensive insights and updates.
    1. 小李哥
      大模型处理异常,请稍后再试,错误信息:404.
      « 1 ... 7 8 9 10 11 12 13 ... 18 »