我有一家这样称呼的商店:
var store = Ext.getStore('mysotreid');
mystoreid与 匹配mycomponent.mystore。
然后我像这样创建商店的新实例:
var newStore = Ext.create('mycomponent.mystore', {
autoDestroy: true
});
然后我像这样调用 newStore 的负载:
newStore.load({
callback: function(items) {
...
}
);
问题是,如果我称var store = Ext.getStore('mysotreid')它不是 oldone 商店,而是newStore. 如何在newStore不修改旧商店的情况下加载?