search

Home  >  Q&A  >  body text

angular.js - select's ng-model loop binding loop append


Click Add, add the red box part, select the check item you want to add ng-model is loop bound

Select the check item to append different check items
How can I make the ng-model of each loop body have different names and append them? The loop body of the check result is named differently

PHP中文网PHP中文网2790 days ago590

reply all(1)I'll reply

  • PHPz

    PHPz2017-05-15 17:08:44

    var list=[
            {name:'血常规',detail:{}},
            {name:'项目1',detail:{}}
        ];

    Put the inspection results in the detail, the structure is up to you

    reply
    0
  • Cancelreply