【发布时间】:2016-05-19 15:57:56
【问题描述】:
我放弃了,即使在 Shopify 文档中说它应该这样做,我也无法让它工作。我只需要关闭加载微调器。
这是我的 javascript
<script type="text/javascript">
ShopifyApp.ready(function(){
ShopifyApp.Bar.loadingOff();
});
</script>
然后这是 Shopify 的文档:
ShopifyApp.Bar.loadingOff()
停止加载微调器。可能应该在每个页面上调用 ShopifyApp.ready()。
application.html.erb 文件或embedded_app.html.erb 文件中没有任何内容可以覆盖此内容。
I found other people with the same issue.
知道我做错了什么吗?
【问题讨论】:
标签: javascript ruby-on-rails shopify