Commit ba3a2f1e57227c687220d0f4ef8bdc8cce14402c

Authored by 梁灏
1 parent 23f1a8f2

publish 0.9.13-rc-1

publish 0.9.13-rc-1
Showing 2 changed files with 5 additions and 1 deletions   Show diff stats
package.json
1 1 {
2 2 "name": "iview",
3   - "version": "0.9.12",
  3 + "version": "0.9.13-rc-1",
4 4 "title": "iView",
5 5 "description": "A high quality UI components Library with Vue.js",
6 6 "homepage": "http://www.iviewui.com",
... ...
test/routers/form.vue
... ... @@ -181,6 +181,7 @@
181 181 </form-item>
182 182 <form-item>
183 183 <i-button type="primary" @click="onSubmit('form')">提交</i-button>
  184 + <i-button type="ghost" @click="resetForm('form')">重置</i-button>
184 185 </form-item>
185 186 </i-form>
186 187 </div>
... ... @@ -387,6 +388,9 @@
387 388 }
388 389 });
389 390 },
  391 + resetForm (formName) {
  392 + this.$refs[formName].resetFields();
  393 + },
390 394 c (s) {
391 395 console.log(this.form.date)
392 396 },
... ...