我有一个下载路线在我的MeteorJs应用程序,我想限制访问。路由代码如下 Router.route("/download-data", function() {
var data = Meteor.users.find({ "profile.user_type": "employee" }).fetch();
var fields = [...fields];
var title = "
虽然这段代码运行它表明我这个错误: Only one default export allowed per module 在其工作文件1.4.xx但在新的它显示我这个错误...任何人都可以请建议我我应该做什么: 1)要么从1.5.xx换回到1.4.xx 2)如果是这样,那么我建议稳定版本 import {createContainer} from 'meteor/react-meteor-data