简体   繁体   中英

Calling init on WL.JSONStore without repeating previously used options

Is there a way to initialize() ("re-open") an existing JSONStore collection with the same arguments that were used to create it, without passing them again? Eg without specifying the searchFields that were set up on its creation.

Not possible, you must always pass the same arguments (search fields, etc). You can open a feature request here if you want.

JSONstore没有提供一种方法来解决您要问的问题-init()不会保留先前传递给它的参数的任何“内存”,因此,如果您想重新打开一个集合,则要使用init的参数()必须再次传递。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM