Commit 6512be19 by chenyu

update: update

parent c87de719
......@@ -72,7 +72,6 @@
:data="tableData"
style="width: 100%"
@sort-change="sortChange"
:default-sort="{prop: 'date', order: 'descending'}"
>
<el-table-column label="活动名称" prop="activityName" />
<el-table-column
......@@ -213,7 +212,11 @@ export default {
},
},
created () {
this.getSearchList();
},
mounted () {
if (this.$refs.table) {
this.$refs.table.sort('date', 'descending');
}
},
methods: {
renderHeader (h, { column, $index }, index) {
......@@ -294,26 +297,11 @@ export default {
};
</script>
<style scoped>
.section {
background: #fff;
margin: 24px;
padding: 24px;
}
.m-r-10 {
margin-right: 10px;
}
.w-280 {
width: 280px;
}
.w-300 {
width: 300px;
}
.w-140 {
width: 140px;
}
.w-160 {
width: 160px;
}
.gift-info img {
width: 75px;
height: 75px;
......
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