|
@@ -70,7 +70,7 @@ const btnDisabled = ref(false)
|
|
|
const form = reactive({
|
|
|
content: '',
|
|
|
userId: '',
|
|
|
- type: 9
|
|
|
+ type: ''
|
|
|
})
|
|
|
const formRef = ref(null)
|
|
|
const uploadLoading = ref(false)
|
|
@@ -110,7 +110,6 @@ const submitForm = () => {
|
|
|
formData.username = item.label
|
|
|
}
|
|
|
})
|
|
|
- console.log(formData, '===')
|
|
|
await processAppendNodeApi(formData)
|
|
|
$myEmit('successCb')
|
|
|
closeDialog()
|
|
@@ -119,10 +118,6 @@ const submitForm = () => {
|
|
|
})
|
|
|
.catch(err => {
|
|
|
btnDisabled.value = false
|
|
|
- ElMessage({
|
|
|
- message: '操作失败',
|
|
|
- type: 'error'
|
|
|
- })
|
|
|
})
|
|
|
}
|
|
|
|