Commit 325cd2f8 authored by 刘殿昕's avatar 刘殿昕

修复莫名其妙时间undefined

parent 9c88e63e
......@@ -226,12 +226,19 @@ export default {
this.diaDel = true;
},
getQList() {
console.log(this.search_date);
let query = {
search: this.search_ask,
style: 3,
create_user: this.search_user,
start: this.search_date.length != 0 ? this.search_date[0] : "",
end: this.search_date.length != 0 ? this.search_date[1] : "",
start:
this.search_date && this.search_date.length != 0
? this.search_date[0]
: "",
end:
this.search_date && this.search_date.length != 0
? this.search_date[1]
: "",
limit: this.currentlimit,
page: this.currentPage,
order: "created",
......@@ -244,12 +251,19 @@ export default {
});
},
getAList() {
console.log(this.search_date);
let query = {
search: this.search_ask,
style: 3,
create_user: this.search_user,
start: this.search_date.length != 0 ? this.search_date[0] : "",
end: this.search_date.length != 0 ? this.search_date[1] : "",
start:
this.search_date && this.search_date.length != 0
? this.search_date[0]
: "",
end:
this.search_date && this.search_date.length != 0
? this.search_date[1]
: "",
limit: this.currentlimit,
page: this.currentPage,
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment