|
@@ -114,10 +114,6 @@
|
|
|
created () {
|
|
|
this.knowledgeShareInfoService = new KnowledgeShareInfoService()
|
|
|
this.knowledgeShareTypeService = new KnowledgeShareTypeService()
|
|
|
- this.userService = new UserService()
|
|
|
- this.knowledgeShareTypeService.list().then(({data}) => {
|
|
|
- this.typeList = data.records
|
|
|
- })
|
|
|
},
|
|
|
components: {
|
|
|
InfoForm,
|
|
@@ -144,6 +140,10 @@
|
|
|
},
|
|
|
// 获取数据列表
|
|
|
refreshList () {
|
|
|
+ this.userService = new UserService()
|
|
|
+ this.knowledgeShareTypeService.list().then(({data}) => {
|
|
|
+ this.typeList = data.records
|
|
|
+ })
|
|
|
this.loading = true
|
|
|
this.is()
|
|
|
this.create = JSON.parse(localStorage.getItem('user')).name
|