Commit 730ddcb9 authored by leiqingsong's avatar leiqingsong

Merge branch 'dev_lqs' into 'master'

优化

See merge request !108
parents 60b9baee 8affd0bd
...@@ -26,6 +26,7 @@ export function uploadImage(params, file) { ...@@ -26,6 +26,7 @@ export function uploadImage(params, file) {
return request({ return request({
url: "/ZX/uploadImage", url: "/ZX/uploadImage",
method: "post", method: "post",
params,
data: file data: file
}); });
} }
...@@ -53,7 +53,7 @@ export default { ...@@ -53,7 +53,7 @@ export default {
this.maxDate = new Date(); this.maxDate = new Date();
this.minDate = new Date(this.currentDate.getFullYear(), 0); this.minDate = new Date(this.currentDate.getFullYear(), 0);
this.selected = `${this.currentDate.getFullYear()}${this.currentDate.getMonth() + this.selected = `${this.currentDate.getFullYear()}${this.currentDate.getMonth() +
1}月`; 1}月`;
const time = this.currentDate.toLocaleDateString().replace(/\//g, "-"); const time = this.currentDate.toLocaleDateString().replace(/\//g, "-");
this.getRecordList(time); this.getRecordList(time);
}, },
......
...@@ -152,7 +152,7 @@ export default { ...@@ -152,7 +152,7 @@ export default {
// 点击提现 // 点击提现
onCashOut() { onCashOut() {
if (this.money == 0) { if (this.money == 0) {
this.$toast.fail('请输入正确金额'); this.$toast.fail("请输入正确金额");
return; return;
} }
if (!this.money) { if (!this.money) {
......
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