我目前正致力于搜索功能,但我觉得应该有更好的方式,而不是我拥有的。
App.js?_dc=0.59785698231437:43 Data: [constructor]
08:43:48.080 sdk-debug.js:185210 Uncaught TypeError: this.store.hydrateModel is not a function
at constructor.initComponent (sdk-debug.js:185210)
at constructor (sdk-debug.js:30211)
at constructor.callParent (sdk-debug.js:4469)
at constructor [as _componentConstructor] (sdk-debug.js:34291)
at constructor.callParent (sdk-debug.js:4469)
at constructor (sdk-debug.js:144823)
at constructor.callParent (sdk-debug.js:4469)
at constructor (sdk-debug.js:185132)
at new constructor (sdk-debug.js:5100)
at eval (eval at getInstantiator (sdk-debug.js:5720), <anonymous>:3:8)
initComponent @ sdk-debug.js:185210
constructor @ sdk-debug.js:30211
callParent @ sdk-debug.js:4469
constructor @ sdk-debug.js:34291
callParent @ sdk-debug.js:4469
constructor @ sdk-debug.js:144823
callParent @ sdk-debug.js:4469
constructor @ sdk-debug.js:185132
constructor @ sdk-debug.js:5100
(anonymous) @ VM20:3
instantiate @ sdk-debug.js:5692
(anonymous) @ sdk-debug.js:2303
_loadData @ App.js?_dc=0.59785698231437:45
fire @ sdk-debug.js:10046
continueFireEvent @ sdk-debug.js:11447
fireEventArgs @ sdk-debug.js:11425
prototype.fireEventArgs @ sdk-debug.js:42297
object.(anonymous function) @ sdk-debug.js:195692
fireEvent @ sdk-debug.js:11411
onListSelectionChange @ sdk-debug.js:149617
object.(anonymous function) @ sdk-debug.js:195692
fire @ sdk-debug.js:10046
continueFireEvent @ sdk-debug.js:11447
fireEventArgs @ sdk-debug.js:11425
fireEvent @ sdk-debug.js:11411
maybeFireSelectionChange @ sdk-debug.js:95171
doSingleSelect @ sdk-debug.js:95145
doSelect @ sdk-debug.js:94983
selectWithEvent @ sdk-debug.js:94717
onItemClick @ sdk-debug.js:95543
fire @ sdk-debug.js:10046
continueFireEvent @ sdk-debug.js:11447
fireEventArgs @ sdk-debug.js:11425
prototype.fireEventArgs @ sdk-debug.js:42297
fireEvent @ sdk-debug.js:11411
processUIEvent @ sdk-debug.js:96924
handleEvent @ sdk-debug.js:96850
(anonymous) @ VM60:7
wrap @ sdk-debug.js:10800
==========================================================================
如果用户在其中一个字段中添加数据或将数据添加到所有字段中,那又怎样呢?我想跳过为每种方式制作if语句