|
@@ -37,10 +37,10 @@ const devMixin = {
|
|
}
|
|
}
|
|
|
|
|
|
// 设备模式
|
|
// 设备模式
|
|
-const devTypeMixin = {
|
|
|
|
|
|
+const devModeMixin = {
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
- typeOptions: [{
|
|
|
|
|
|
+ modeOptions: [{
|
|
value: 1,
|
|
value: 1,
|
|
label: '蓝牙'
|
|
label: '蓝牙'
|
|
}, {
|
|
}, {
|
|
@@ -271,7 +271,7 @@ const platformMixin = {
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
// 通过音频类型获取对应的平台
|
|
// 通过音频类型获取对应的平台
|
|
- getPlatform(e) {
|
|
|
|
|
|
+ async getPlatform(e) {
|
|
this.platformOptions = []
|
|
this.platformOptions = []
|
|
return new Promise((resolve, reject) => {
|
|
return new Promise((resolve, reject) => {
|
|
audioType(e).then(res => {
|
|
audioType(e).then(res => {
|
|
@@ -576,7 +576,7 @@ const systemMixin = {
|
|
|
|
|
|
export {
|
|
export {
|
|
devMixin,
|
|
devMixin,
|
|
- devTypeMixin,
|
|
|
|
|
|
+ devModeMixin,
|
|
serviceTimeMixin,
|
|
serviceTimeMixin,
|
|
serviceTypeMixin,
|
|
serviceTypeMixin,
|
|
isFreeMixin,
|
|
isFreeMixin,
|