mirror of
https://github.com/cuiocean/ZY-Player.git
synced 2026-05-05 15:35:02 +08:00
解决运行时因为star history table还没实例化而出现的错误
This commit is contained in:
@@ -342,6 +342,7 @@ export default {
|
||||
})
|
||||
},
|
||||
rowDrop () {
|
||||
if (!document.getElementById('history-table')) return
|
||||
const tbody = document.getElementById('history-table').querySelector('.el-table__body-wrapper tbody')
|
||||
const _this = this
|
||||
Sortable.create(tbody, {
|
||||
|
||||
@@ -482,6 +482,7 @@ export default {
|
||||
})
|
||||
},
|
||||
rowDrop () {
|
||||
if (!document.getElementById('star-table')) return
|
||||
const tbody = document.getElementById('star-table').querySelector('.el-table__body-wrapper tbody')
|
||||
const _this = this
|
||||
Sortable.create(tbody, {
|
||||
|
||||
Reference in New Issue
Block a user