|
|
@@ -161,7 +161,7 @@ export default {
|
|
|
handleHide (row) {
|
|
|
this.hideData(row.ID)
|
|
|
},
|
|
|
- handleUnHide(row) {
|
|
|
+ handleUnHide (row) {
|
|
|
this.unHideData(row.ID)
|
|
|
},
|
|
|
handleMuliDel () {
|
|
|
@@ -271,16 +271,16 @@ export default {
|
|
|
|
|
|
})
|
|
|
},
|
|
|
- getImage(imageUrl) {
|
|
|
- return tool.getArImage(imageUrl, '/files/');
|
|
|
+ getImage (imageUrl) {
|
|
|
+ return tool.getArImage(imageUrl, '/files/')
|
|
|
},
|
|
|
- getContent(aid) {
|
|
|
- let titles = this.allArticle.filter(article => article.ID === aid).map(article => article.TITLE);
|
|
|
- return titles.length > 0 ? titles[0] : aid;
|
|
|
- },
|
|
|
- getHref(link) {
|
|
|
- return link.indexOf('http') > -1 ? link : 'http://' + link;
|
|
|
+ getContent (aid) {
|
|
|
+ let titles = this.allArticle.filter(article => article.ID === aid).map(article => article.TITLE)
|
|
|
+ return titles.length > 0 ? titles[0] : aid
|
|
|
},
|
|
|
+ getHref (link) {
|
|
|
+ return link.indexOf('http') > -1 ? link : 'http://' + link
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|