mirror of
https://github.com/cuiocean/ZY-Player.git
synced 2026-02-06 20:23:27 +08:00
无搜索结果时,不需要提醒
This commit is contained in:
@@ -399,9 +399,6 @@ export default {
|
||||
sites.forEach(site =>
|
||||
zy.search(site.key, wd).then(res => {
|
||||
const type = Object.prototype.toString.call(res)
|
||||
if (type === '[object Undefined]') {
|
||||
this.$message.info(site.name + ' 无搜索结果')
|
||||
}
|
||||
if (type === '[object Array]') {
|
||||
res.forEach(element => {
|
||||
element.site = site
|
||||
|
||||
Reference in New Issue
Block a user