上线本子更新(同步更新)
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
|
||||
<el-button @click="changeCollect(props.row.gid, props.row.isCollect)">{{props.row.isCollect ? '取消收藏' : '收藏'}}</el-button>
|
||||
<el-button @click="editTag(props.row.gid, props.row.tag)">编辑标签</el-button>
|
||||
<el-button @click="updateGallery(props.row.link)" :disabled="props.row.download === undefined">更新</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
@@ -264,6 +265,9 @@ function submitTag(){
|
||||
function downloadTask(link){
|
||||
window.open(link)
|
||||
}
|
||||
function updateGallery(link){
|
||||
store.dispatch("updateGallery", link)
|
||||
}
|
||||
function deleteGallery(gid){
|
||||
store.dispatch("deleteGallery", gid)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user