diff --git a/resources/assets/js/pages/manage/components/ProjectList.vue b/resources/assets/js/pages/manage/components/ProjectList.vue index 0e3f20e8..561f4d01 100644 --- a/resources/assets/js/pages/manage/components/ProjectList.vue +++ b/resources/assets/js/pages/manage/components/ProjectList.vue @@ -35,12 +35,12 @@
  • - - + +
    -
    +
  • @@ -464,7 +464,6 @@ export default { sortField: 'end_at', sortType: 'desc', - searchShow: false, searchText: '', addColumnShow: false, @@ -716,19 +715,18 @@ export default { watch: { projectData() { this.sortData = this.getSort(); - }, - searchShow(val) { - if (val) { - this.$nextTick(() => { - this.$refs.searchInput.focus({ - cursor: "end" - }); - }) - } } }, methods: { + searchFocus() { + this.$nextTick(() => { + this.$refs.searchInput.focus({ + cursor: "end" + }); + }) + }, + getSort() { const sortData = []; this.columnList.forEach((column) => {