方法放入和添加的第二個參數{directives}是什麼? 有人知道你可以放在這裏嗎?什麼是指令? dojo dstore
https://github.com/SitePen/dstore/blob/master/docs/Store.md
put(object, [directives]) This stores an object. It can be used to update or create an object. This returns a promise that may resolve to the object after it has been saved.
add(object, [directives]) This creates an object, and throws an error if the object already exists. This should return a promise for the newly created object.