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