lex-xin 4 年之前
父节点
当前提交
9be49b567f
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/reaplceMusicPlayer/modals/resetInfo.vue

+ 2 - 2
src/views/reaplceMusicPlayer/modals/resetInfo.vue

@@ -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')