Merge pull request #3547 from mouse-lin/master
fix: modify announcement 4.0 doc Option params
This commit is contained in:
commit
3422460488
@ -451,7 +451,7 @@ $request.then(function (data) {
|
||||
var item = data[d];
|
||||
|
||||
// Create the DOM option that is pre-selected by default
|
||||
var option = new Option(data.text, data.id, true, true);
|
||||
var option = new Option(item.text, item.id, true, true);
|
||||
|
||||
// Append it to the select
|
||||
$element.append(option);
|
||||
|
Loading…
Reference in New Issue
Block a user