mdi-minus
+
@@ -46,14 +50,7 @@ export default {
{text: '状态', value: 'status'},
{text: '操作', value: 'action'},
],
- items: [
- {
- name: 'Frozen Yogurt',
- size: 159,
- status: 'success',
- action: 4.0,
- }
- ],
+ items: [],
outputText: ''
}
},
@@ -70,17 +67,17 @@ export default {
// eventBus.$on('getFile', (msgData) => {
// console.log(msgData);
// });
- eventBus.$on('getFileInfo', (msgData) => {
- this.items = [...this.items, ...msgData.data.map(item => {
- return {
- name: item.name,
- size: item.size,
- status: 'success',
- action: 4.0,
- }
- })]
- });
-
+ // eventBus.$on('getFileInfo', (msgData) => {
+ // this.items = [...this.items, ...msgData.data.map(item => {
+ // return {
+ // name: item.name,
+ // size: item.size,
+ // status: 'success',
+ // action: 4.0,
+ // }
+ // })]
+ // });
+ //
eventBus.$on('output', (msgData) => {
this.outputText = this.outputText.concat(msgData.data.text).concat('\n');
});