|
@@ -96,10 +96,10 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
submited(){
|
|
|
- this.$refs.form.validate( async flag=>{
|
|
|
+ this.$refs.form.validate( async (flag)=>{
|
|
|
if(flag){
|
|
|
try{
|
|
|
- const res = updateInstrumentActivity({...this.form})
|
|
|
+ const res = await updateInstrumentActivity({...this.form})
|
|
|
this.$message.success('修改成功')
|
|
|
this.$emit('close')
|
|
|
this.$emit('getList')
|