Commit 9a2ce81d by liimin

优化代码

1 parent 044f50d0
......@@ -62,7 +62,7 @@ export default {
data() {
return {
errorTip:false,
receptionList: [{
receptionList: Object.freeze([{
label: '成交',
value: 1
},
......@@ -70,8 +70,8 @@ export default {
label: '战败',
value: 0
}
],
formObject: [{
]),
formObject: Object.freeze([{
label: "车主姓名",
placeholder: '车主姓名',
key: 'customerName',
......@@ -108,7 +108,7 @@ export default {
popKey: "employeeBoxVisible",
placeholder: '请选择',
},
],
]),
focusIndex: -1,
customerInfo:{}
}
......
......@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2024-12-26 10:03:54
* @LastEditors: limin
* @LastEditTime: 2025-01-09 11:05:10
* @LastEditTime: 2025-01-15 21:23:38
* @FilePath: \gl_tape\mixin\record\recorder.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
......@@ -112,7 +112,9 @@ export default {
stop() {
this.endWatchClick()
this.record.clearLoopTimer()
this.audioManager.stop()
if(this.audioManager.isRecording){
this.audioManager.stop()
}
},
handler(params, fn) {
if (!this.audioManager.isRecording) return
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!