提交 9ab1ad01 编写于 作者: N nzomkxia

display all item when search null

上级 ed35dc33
......@@ -265,13 +265,13 @@
mounted: function () {
this.ruleText = this.template
let query = this.$route.query
let service = ''
let service = null
Object.keys(query).forEach(function (key) {
if (key === 'service') {
service = query[key]
}
})
if (service !== '') {
if (service !== null) {
this.filter = service
this.search(service, false)
}
......
......@@ -286,13 +286,13 @@
mounted: function () {
this.ruleText = this.template
let query = this.$route.query
let service = ''
let service = null
Object.keys(query).forEach(function (key) {
if (key === 'service') {
service = query[key]
}
})
if (service !== '') {
if (service !== null) {
this.filter = service
this.search(service, false)
}
......
......@@ -323,13 +323,13 @@
mounted: function () {
this.ruleText = this.template
let query = this.$route.query
let service = ''
let service = null
Object.keys(query).forEach(function (key) {
if (key === 'service') {
service = query[key]
}
})
if (service !== '') {
if (service !== null) {
this.filter = service
this.search(service, false)
}
......
......@@ -264,13 +264,13 @@
mounted: function () {
this.ruleText = this.template
let query = this.$route.query
let service = ''
let service = null
Object.keys(query).forEach(function (key) {
if (key === 'service') {
service = query[key]
}
})
if (service !== '') {
if (service !== null) {
this.filter = service
this.search(service, false)
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册