Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在商店加载后删除额外的参数。如果我输入为 '' 它仍然在 url 中有那个参数并且删除不起作用
您必须在商店加载后添加以下代码
delete store.proxy.extraParams.param_name;
如果您要删除所有 extraParams,只需使用以下代码:
store.getProxy().setExtraParams({});