Commit 42ba02d2 authored by 15011343103's avatar 15011343103

feat

parent d2db0d49
......@@ -84,8 +84,7 @@ new Vue({
this.$nextTick(() => {
// 先加载数据
this.loadDefaultData().then(() => {
// 数据加载成功后初始化波形图
this.initWavesurfer();
});
// 添加全局事件监听
......@@ -117,6 +116,7 @@ new Vue({
} else {
this.hasData = true;
this.initPage(data);
this.initWavesurfer();
this.$message.success('处理完成');
}
},
......@@ -291,6 +291,7 @@ new Vue({
this.hasData = true;
this.initPage(data);
this.initWavesurfer();
this.loading = false;
this.$message.success('数据加载成功');
} catch (error) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment