文章缓存 redis定时转移到mongoDb

This commit is contained in:
WangHao
2020-10-12 23:29:13 +08:00
parent 11dc911d2b
commit 9ab209fe6b
15 changed files with 467 additions and 117 deletions

View File

@ -2,7 +2,7 @@
<div>
<div v-for="bm in bookmarkList" class="bookmark" :data-id="bm.id" @click="windowurl(bm.url,bm.bookmarkId)">
<div v-for="bm in bookmarkList" class="bookmark" @click="winurl(bm.noteId,bm.tiymceUeditor,bm.bookmarkId,bm.url)">
<div class="bookmark-item">
<span class="bookmark-title" >{{bm.title}}</span>
@ -48,9 +48,15 @@
isdescription:false,
noteTime:true,
isBookmarkIcon:false,
Ueditor:undefined,
}
},
created() {
var that=this;
//便签ID
that.Ueditor = that.$route.query.Ueditor;
var a=2;
if(a==2){
//便签模式 只能这么显示
@ -73,8 +79,9 @@
},
methods: {
windowurl(A, B) {
this.$emit('on-windowurl', A, B)
winurl:function(noteId,tiymceueditor,bookmarkId,url) {
this.$emit('on-windowurl', noteId, tiymceueditor,bookmarkId,url);
}
}