Commit 5dafdd0b by 李伟康

commit 提交

1 parent cb17d93c
...@@ -136,9 +136,6 @@ import HomeFrame from '@/components/HomeFrame/index.vue' ...@@ -136,9 +136,6 @@ import HomeFrame from '@/components/HomeFrame/index.vue'
import detail from './detail.vue' import detail from './detail.vue'
import CustomerType from './components/CustomerType.vue'; import CustomerType from './components/CustomerType.vue';
import { mapMutations } from "vuex"; import { mapMutations } from "vuex";
const m5 = require("@/assets/images/boutique/index/m5.png")
const m7 = require("@/assets/images/boutique/index/m7.png")
const m9 = require("@/assets/images/boutique/index/m9.png")
const defaultConfig = [ const defaultConfig = [
{ {
name: '套餐火爆热卖', name: '套餐火爆热卖',
...@@ -348,16 +345,16 @@ export default { ...@@ -348,16 +345,16 @@ export default {
this.recording = false this.recording = false
}, },
async start (before = true) { async start (before = true) {
// const result = await this.$permision.requestAndroidPermission( const result = await this.$permision.requestAndroidPermission(
// "android.permission.RECORD_AUDIO" "android.permission.RECORD_AUDIO"
// ); );
// if (result !== 1) { if (result !== 1) {
// uni.showToast({ uni.showToast({
// title: "为了记录语音通话,请打开录音权限", title: "为了记录语音通话,请打开录音权限",
// icon: "none", icon: "none",
// }); });
// return false return false
// } }
if (before) this.clearHistory(); if (before) this.clearHistory();
this.$refs.home.startAudio(); this.$refs.home.startAudio();
this.recording = true this.recording = true
......
...@@ -220,17 +220,17 @@ export default { ...@@ -220,17 +220,17 @@ export default {
async start () { async start () {
if (this.recording) return if (this.recording) return
// uni.showLoading({ uni.showLoading({
// mask: true mask: true
// }) })
// const result = await this.$permision.requestAndroidPermission('android.permission.RECORD_AUDIO') const result = await this.$permision.requestAndroidPermission('android.permission.RECORD_AUDIO')
// if (result !== 1) { if (result !== 1) {
// uni.showToast({ uni.showToast({
// title: '为了记录语音通话,请打开录音权限', title: '为了记录语音通话,请打开录音权限',
// icon: 'none' icon: 'none'
// }) })
// return return
// } }
this.getSoure() this.getSoure()
this.clearHistory() this.clearHistory()
this.$refs.home.startAudio() this.$refs.home.startAudio()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!