This commit is contained in:
24kycj
2024-11-29 16:32:24 +08:00
parent 3e61df2728
commit 0d09d9611c
+4 -4
View File
@@ -423,8 +423,8 @@ export default {
mounted() {
let workForm = localStorage.getItem('workForm')
if (workForm) {
this.form.cd_type = workForm.cd_type
this.form.copy_type = workForm.copy_type
this.form.cd_type = JSON.parse(workForm).cd_type
this.form.copy_type = JSON.parse(workForm).copy_type
}
},
methods: {
@@ -583,10 +583,10 @@ export default {
if (!theForm.udf_file) delete theForm.udf_file
that.testForm.req_info = theForm
// 保存默认设置
localStorage.setItem('workForm', {
localStorage.setItem('workForm', JSON.stringify({
cd_type: that.form.cd_type,
copy_type: that.form.copy_type
})
}))
that.$store.dispatch('chat/websocketsend', that.testForm).then(() => {
setTimeout(() => {
that.$message({