添加题目列表组件;完善创建题目组件

This commit is contained in:
LiYang
2016-08-14 16:24:41 +08:00
parent a9099b80a4
commit 39fa2872a0
7 changed files with 203 additions and 39 deletions

View File

@@ -48,8 +48,6 @@
import Router from 'vue-router'
import pager from '../utils/pager.vue'
//import editUser from './editUser.vue'
export default {
data: function () {
return {
@@ -103,8 +101,6 @@
search() {
sessionStorage.userListSearchKeyword = this.keyword;
this.$router.go({path: "/user/1", query: {_: (new Date()).getTime()}});
// pager goto page 1
// url -> /user/1
},
edit(userId) {
this.$router.go("/user/edit/" + userId)