|
@@ -63,7 +63,7 @@
|
|
|
width="120"
|
|
|
label="下载链接">
|
|
|
<template slot-scope="scope">
|
|
|
- <overflow-text width="120px" :text="decode(scope.row.downloadUrl)"></overflow-text>
|
|
|
+ <overflow-text width="120px" :text="scope.row.downloadUrl"></overflow-text>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center"
|
|
@@ -214,7 +214,6 @@ export default {
|
|
|
this.init();
|
|
|
},
|
|
|
methods: {
|
|
|
- decode,
|
|
|
search () {
|
|
|
this.rules.page = 1;
|
|
|
this.getList()
|
|
@@ -230,7 +229,7 @@ export default {
|
|
|
rows: this.rules.limit,
|
|
|
}).then(res => {
|
|
|
if (res.code == 200) {
|
|
|
- this.tableList = res.data.rows;
|
|
|
+ this.tableList = res.data.rows.map(item => ({...item, downloadUrl: decode(item.downloadUrl)}));
|
|
|
this.rules.total = res.data.total;
|
|
|
}
|
|
|
});
|
|
@@ -256,7 +255,6 @@ export default {
|
|
|
},
|
|
|
resetEdit (row) {
|
|
|
this.isNew = false;
|
|
|
- row.downloadUrl = decode(row.downloadUrl)
|
|
|
this.sectionForm = row;
|
|
|
this.sectionVisible = true;
|
|
|
},
|