Commit 2f9aa5c0 by 陈超

A

parent 45a0cd98
...@@ -467,6 +467,8 @@ ...@@ -467,6 +467,8 @@
currentMyOptions: function() { currentMyOptions: function() {
let cur = this.currentRightOptions let cur = this.currentRightOptions
return this.currentOptions.filter( r => { return r.selected }).map( r => { return this.currentOptions.filter( r => { return r.selected }).map( r => {
console.log(r)
console.log(cur.hx_indexOf( k => { return k == r.key }))
return { return {
right: cur.hx_indexOf( k => { return k == r.key }) != -1, right: cur.hx_indexOf( k => { return k == r.key }) != -1,
key: r.key key: r.key
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment