Commit c865f97534840c7058f0fa9682707f0105df997b
1 parent
f97552e9
debug
Showing
2 changed files
with
3 additions
and
3 deletions
src/html/index.html
| ... | ... | @@ -65,8 +65,8 @@ |
| 65 | 65 | <el-upload class="upload-demo" :action="uploadUrl" :auto-upload="false" :file-list="fileList" accept=".mp3, .flac, .ogg, .wav, .mpg, .wma, .aac, .m4a" |
| 66 | 66 | @change="getMp3" :on-exceed="exceed" :before-remove="handleRemove" :disabled="btnDisabled" :show-file-list="false"> |
| 67 | 67 | <el-button size="small" type="primary" :disabled="btnDisabled" class="diy-button width-190 bg-blue">选择文件</el-button> |
| 68 | - <span class="diy-danger">{{msgText}}</span> | |
| 69 | 68 | </el-upload> |
| 69 | + <span class="diy-danger">{{msgText}}</span> | |
| 70 | 70 | </el-form-item> |
| 71 | 71 | <el-divider></el-divider> |
| 72 | 72 | <el-form-item class="diy-flex-50 diy-text-left"> | ... | ... |
webpack.config.js
| ... | ... | @@ -11,7 +11,7 @@ module.exports = { |
| 11 | 11 | entry: path.join(__dirname, "src", "/js/audios.js"), //__dirname指的是当前目录,是目录形成绝对路径 |
| 12 | 12 | output: { |
| 13 | 13 | //输入的文件名 |
| 14 | - filename: "bundle.js", | |
| 14 | + filename: "tengxi.js", | |
| 15 | 15 | // filename: '[name].[hash:7].js', |
| 16 | 16 | publicPath: "/", |
| 17 | 17 | //输入的路径 webpack会自动打包生成 |
| ... | ... | @@ -25,7 +25,7 @@ module.exports = { |
| 25 | 25 | //文件中找到的路径 |
| 26 | 26 | template: path.join(__dirname, "src", "html/index.html"), |
| 27 | 27 | //打包输出的路径 |
| 28 | - filename: "audio.html", | |
| 28 | + filename: "tengxi.html", | |
| 29 | 29 | }), |
| 30 | 30 | new CleanWebpackPlugin(), |
| 31 | 31 | new JavaScriptObfuscator( | ... | ... |