赞
踩
<template> <view class=""> <view> <button @tap="startRecord">开始录音</button> <button @tap="endRecord">停止录音</button> <button @tap="playVoice">播放录音</button> </view> <button @tap="junp">选择文件</button> <!-- <luch-audio v-if="voicePath" :src="voicePath" :play.sync="audioPlayNew" ></luch-audio> --> </view> </template> <script> const recorderManager = uni.getRecorderManager(); const innerAudioContext = uni.createInnerAudioContext(); innerAudioContext.autoplay = true; export default { data() { return { text:
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。