knockout bind a key value object to dropdown

后端 未结 0 1705
一向
一向 2021-02-15 21:09

I have the following models:

var allCategories = [{
    id: 1,
    name: \'Red\'},
{
    id: 5,
    name: \'Blue\'}];

function model() {
    self = this;
    se         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题