Closed youyi1314 closed 6 years ago
@youyi1314 You want the name
to support function-typed?
https://github.com/fritx/vue-at/blob/dev/src/At.vue#L104-L107
itemName (v) {
const { nameKey } = this
+ if (typeof nameKey === 'function') {
+ nameKey = nameKey()
+ }
return nameKey ? v[nameKey] : v
},
No problem but I still don't understand well your use case, lol..
@fritx Thanks for your reply actually what I want is the name and the s.item.display dynamic some data I retried from API. like that day function for today have 3 timetables, 1.3pm 2.6pm 3.8pm
I have 2 people join the function @3pm and 2 people from @6pm will postpone to @8pm
something like that, so easy user to check back the time from the list using '@'.
thanks for your helping and this vue-at ^^I found what i actually need #16
@youyi1314 awesome! that would be published soon
At title, i got this data
here is my template
when i use "@" it will show the text below:
wish you can understand what i mean. Thanks