【发布时间】:2016-11-03 08:24:53
【问题描述】:
当我点击一行时,我需要做一个主从视图。我有code in a branchhere's the commit link。
let urlDetail = this.router.generate('energy-details', {model: this.model});
this.router.navigate(urlDetail);
这可行,但查询字符串很糟糕。如何将模型发送到内存中?
这真的很难找到一个例子。 https://github.com/softchris/aurelia 是最好的。 有没有更好的方法来做主从视图?我是 Aurelia 的新手。
【问题讨论】:
标签: aurelia