Element UI checkbox 使用 key 绑定


        
@{{item.title}}

 languageOptions: [
                    {
                        key: 'cn',
                        title: '简体中文',
                        flag: 'http://www.nanodream.net/public/images/flag/cn.gif'
                    },
                    {
                        key: 'en',
                        title: '英语',
                        flag: 'http://www.nanodream.net/public/images/flag/en.gif'
                    },
                    {
                        key: 'fa',
                        title: '波斯语',
                        flag: 'http://www.nanodream.net/public/images/flag/fa.gif'
                    },
                    {
                        key: 'ar',
                        title: '阿拉伯语',
                        flag: 'http://www.nanodream.net/public/images/flag/ar.gif'
                    },
                    {
                        key: 'ms',
                        title: '马来语',
                        flag: 'http://www.nanodream.net/public/images/flag/ms.gif'
                    },
                    {
                        key: 'bn',
                        title: '孟加拉语',
                        flag: 'http://www.nanodream.net/public/images/flag/bn.gif'
                    },
                    {
                        key: 'ur',
                        title: '乌尔都语',
                        flag: 'http://www.nanodream.net/public/images/flag/ur.gif'
                    },
                    {
                        key: 'tr',
                        title: '土耳其语',
                        flag: 'http://www.nanodream.net/public/images/flag/tr.gif'
                    },
                    {
                        key: 'id',
                        title: '印尼语',
                        flag: 'http://www.nanodream.net/public/images/flag/id.gif'
                    }
                ],

你可能感兴趣的:(Element UI checkbox 使用 key 绑定)