Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
RubyLouvre committed Nov 18, 2014
1 parent f15fccc commit caef27a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions avalon.js
Original file line number Diff line number Diff line change
Expand Up @@ -3335,6 +3335,7 @@
data.value = [widget, id, optName].join(",")
data[widget + "Id"] = id
data.evaluator = noop
elem.msData["ms-widget-id"] = id
var options = data[widget + "Options"] = avalon.mix({}, constructor.defaults, vmOptions || {}, widgetData)
elem.removeAttribute("ms-widget")
var vmodel = constructor(elem, data, vmodels) || {} //防止组件不返回VM
Expand Down
1 change: 1 addition & 0 deletions avalon.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -2637,6 +2637,7 @@
var widgetData = avalon.getWidgetData(elem, widget)
data.value = [widget, id, optName].join(",")
data[widget + "Id"] = id
elem.msData["ms-widget-id"] = id
data.evaluator = noop
var options = data[widget + "Options"] = avalon.mix({}, constructor.defaults, vmOptions || {}, widgetData)
elem.removeAttribute("ms-widget")
Expand Down

0 comments on commit caef27a

Please sign in to comment.