@@ -35,6 +35,7 @@
"vue/v-on-event-hyphenation": 0,
"no-promise-executor-return": 0,
"no-shadow": 0,
- "prefer-destructuring": 1
+ "prefer-destructuring": 1,
+ "no-new": 0
}
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
- <title>Contrl</title>
+ <title>控制端</title>
<style>
video,
#app,
@@ -4,7 +4,6 @@
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>loading</title>
.loader {
border: 5px solid #f3f3f3;
@@ -46,7 +46,7 @@ async function initRecorder() {
} else {
txt = '未获取到音频设备'
- alert(txt)
+ new window.Notification(txt)