为什么Meteor的aldeed/meteor-tabular包卡住了处理,却从不呈现结果? [英] Why does Meteor's aldeed/meteor-tabular package get stuck processing and never render a result?

查看:100
本文介绍了为什么Meteor的aldeed/meteor-tabular包卡住了处理,却从不呈现结果?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我单击列标题进行排序时,大约有五分之一的情况,排序实际上并没有发生,并且处理中"的指示文字也没有消失.

About 1 in 5 times when I click on a column header to sort, the sort doesn't actually happen and the "processing" indicator text doesn't go away.

我必须再次排序以使消息消失.

I have to sort again to make the message disappear.

请为我提供解决方案的建议.

Please advise me toward a solution.

https://github.com/aldeed/meteor-tabular/issues/321

推荐答案

在GitHub存储库上的后续操作 PR#来纠正此错误. 318 .

As followed up on the GitHub repo issue #321, it seems this bug can be corrected by PR #318.

不幸的是,回购维护者似乎对此并不十分积极(一定会努力地付清账单:-)),因此在此期间,您可以简单地使用

Unfortunately, it looks like the repo maintainers are not very active on it (surely working hard to pay their bills :-) ), so for the meantime you could simply use gaiazov's fork (from which PR #318 originates) to have a working version of the package.

为此:

  1. 在Meteor项目的根目录(如果尚不存在)中创建一个名为packages的文件夹.
  2. 在该packages文件夹中创建一个子文件夹(无论其名称如何).
  3. 将包的内容复制到该子文件夹中.
  4. 删除然后重新添加aldeed:tabular程序包.重新添加后,Meteor将首先在packages文件夹中查找您的本地包.
  1. Create a folder named packages at the root of your Meteor project, if it does not already exist.
  2. Create a subfolder (whatever its name) into that packages folder.
  3. Copy the content of the package into that subfolder.
  4. Remove then re-add aldeed:tabular package. When re-added, Meteor will first look into your local packages in the packages folder.

还有另一种使用全局包文件夹的方法,但是您需要分别管理代码版本控制(git…).可以在Internet上轻松找到该方法的说明.

There is also another way using a global packages folder, but you would need to manage code versioning (git…) separately. The description for this method can be easily found on the Internet.

另请参阅参考页:流星指南>构建>编写Atmosphere软件包>覆盖具有本地版本的软件包

这篇关于为什么Meteor的aldeed/meteor-tabular包卡住了处理,却从不呈现结果?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆