Skip to content

Commit 4e1e4d6

Browse files
committed
Init
1 parent 054f702 commit 4e1e4d6

File tree

1 file changed

+1
-22
lines changed
  • resources/assets/js/views/article

1 file changed

+1
-22
lines changed

resources/assets/js/views/article/list.vue

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
</template>
104104

105105
<script>
106-
import { fetchList, deleteArticle, batchUpdateArticle, sitemap } from '@/api/article'
106+
import { fetchList, deleteArticle, batchUpdateArticle } from '@/api/article'
107107
import { mapGetters } from 'vuex'
108108
import Sticky from '@/components/Sticky' // 粘性header组件
109109
@@ -146,27 +146,6 @@ export default {
146146
if (this.$store.state.user.list.length === 0) { this.getUserList() }
147147
},
148148
methods: {
149-
sitemap() {
150-
this.loading = true
151-
sitemap().then(response => {
152-
if (response.data.err) {
153-
this.$message({
154-
message: response.data.err,
155-
type: 'error'
156-
})
157-
} else {
158-
this.$notify({
159-
title: '成功',
160-
type: 'success',
161-
duration: 2000,
162-
message: '生成Sitemap成功!'
163-
})
164-
}
165-
this.loading = false
166-
}).catch(err => {
167-
console.log(err)
168-
})
169-
},
170149
getCategoryList() {
171150
this.$store.dispatch('GetCategoryList')
172151
},

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy