Commit 9a2ce81d by liimin

优化代码

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