Browse Source

Reformat Code

20230320
MengYX 5 years ago
parent
commit
aa98ec422c
No known key found for this signature in database GPG Key ID: E63F9C7303E8F604
  1. 4
      src/App.vue
  2. 2
      src/decrypt/qmc.js
  3. 2
      src/decrypt/raw.js

4
src/App.vue

@ -2,7 +2,7 @@
<el-container id="app">
<el-main>
<x-upload v-on:handle_finish="showSuccess" v-on:handle_error="showFail"></x-upload>
<x-upload v-on:handle_error="showFail" v-on:handle_finish="showSuccess"></x-upload>
<el-row id="app-control">
<el-row style="padding-bottom: 1em; font-size: 14px">
@ -20,7 +20,7 @@
</el-row>
<audio :autoplay="playing_auto" :src="playing_url" controls/>
<x-preview :table-data="tableData" :download_format="download_format"
<x-preview :download_format="download_format" :table-data="tableData"
v-on:music_changed="changePlaying"></x-preview>
</el-main>

2
src/decrypt/qmc.js

@ -1,5 +1,5 @@
import {AudioMimeType, DetectAudioExt, GetArrayBuffer, GetCoverURL, GetFileInfo} from "./util";
import {QmcMaskCreate58, QmcMaskGetDefault, QmcMaskDetectMgg, QmcMaskDetectMflac} from "./qmcMask";
import {QmcMaskCreate58, QmcMaskDetectMflac, QmcMaskDetectMgg, QmcMaskGetDefault} from "./qmcMask";
const musicMetadata = require("music-metadata-browser");

2
src/decrypt/raw.js

@ -1,5 +1,5 @@
const musicMetadata = require("music-metadata-browser");
import {GetCoverURL, GetFileInfo, AudioMimeType, DetectAudioExt, GetArrayBuffer} from "./util";
import {AudioMimeType, DetectAudioExt, GetArrayBuffer, GetCoverURL, GetFileInfo} from "./util";
export async function Decrypt(file, raw_filename, raw_ext, detect = true) {
let ext = raw_ext;

Loading…
Cancel
Save