Commit 45ee1c7a by Sxy

fix: 页面

parent a3d5a784
...@@ -93,12 +93,12 @@ ...@@ -93,12 +93,12 @@
page: 1, page: 1,
loading: false, loading: false,
checkAll: false, checkAll: true,
checkedConditions: options.map((item, index) => { checkedConditions: options.map((item, index) => {
return index + 1 return index + 1
}), }),
conditions: options, conditions: options,
isIndeterminate: true isIndeterminate: false
} }
}, },
methods: { methods: {
...@@ -110,7 +110,9 @@ ...@@ -110,7 +110,9 @@
let data = await axios.post(`/list`, { let data = await axios.post(`/list`, {
page: this.page, page: this.page,
limit: this.limit, limit: this.limit,
conditions: this.checkedConditions, conditions: this.checkedConditions.sort((a, b) => {
return a - b
}),
name: this.formInline.name name: this.formInline.name
}); });
data = data.data; data = data.data;
......
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