首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Aurelia入门浏览器错误

Aurelia入门浏览器错误
EN

Stack Overflow用户
提问于 2015-04-26 13:58:50
回答 1查看 144关注 0票数 0

我正在尝试http://aurelia.io/get-started.html项目,在安装完所有东西之后,我在chrome控制台中得到了以下错误:

--这是火狐中的错误

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2015-04-28 18:51:00

明白了!

我在标记中输入了value.bond而不是值.绑定

app.html:

代码语言:javascript
复制
<template>
  <section>
    <h2>${heading}</h2>

    <form role="form" submit.delegate="welcome()">
      <div class="form-group">
        <label for="fn">First Name</label>
        <input type="text" value.bond="firstName" class="form-control" id="fn" placeholder="first name">
      </div>
      <div class="form-group">
        <label for="ln">Last Name</label>
        <input type="text" value.bond="lastName" class="form-control" id="ln" placeholder="last name">
      </div>
      <div class="form-group">
        <label>Full Name</label>
        <p class="help-block">${fullName}</p>
      </div>
      <button type="submit" class="btn btn-default">Submit</button>
    </form>
  </section>
</template>
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/29878559

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档