
        methods: {
            handleFile(name, event) {
                this.input[name] = event.target.files[0];
            },
            submit() {
                if(this.input.from == ''){
                    layer.alert('转换源格式不能为空');return;
                }
                if(this.input.to == ''){
                    layer.alert('转换目标格式不能为空');return;
                }
                var data = new FormData();
                data.append('from', t