|
|
@@ -116,7 +116,7 @@
|
|
|
|
|
|
<script>
|
|
|
import config from "@/config";
|
|
|
-import tableList from "@/components/table";
|
|
|
+import tableList from "@/components/table/index.vue";
|
|
|
import crumbs from "@/components/crumbs";
|
|
|
import { data } from "./video";
|
|
|
import rename from "../popup/rename";
|
|
|
@@ -248,6 +248,9 @@ export default {
|
|
|
this.list.splice(index, 1)
|
|
|
const newData = data.data.list.map((i) => {
|
|
|
i.fileSize = changeByteUnit(Number(i.fileSize));
|
|
|
+ i.icon = i.ossPath + this.$videoImg;
|
|
|
+ i.createTime = i.createTime.substring(0, i.createTime.length - 3)
|
|
|
+ i.updateTime = i.updateTime.substring(0, i.updateTime.length - 3)
|
|
|
return i;
|
|
|
});
|
|
|
this.list = this.list.concat(newData)
|
|
|
@@ -354,8 +357,10 @@ export default {
|
|
|
},
|
|
|
(data) => {
|
|
|
const newData = data.data.list.map((i) => {
|
|
|
- i.icon = i.ossPath + this.$videoImg;
|
|
|
i.fileSize = changeByteUnit(Number(i.fileSize));
|
|
|
+ i.icon = i.ossPath + this.$videoImg;
|
|
|
+ i.createTime = i.createTime.substring(0, i.createTime.length - 3)
|
|
|
+ i.updateTime = i.updateTime.substring(0, i.updateTime.length - 3)
|
|
|
return i;
|
|
|
});
|
|
|
this.list = this.list.concat(newData)
|