Browse Source

更新条件

lex-xin 3 years ago
parent
commit
6374caa518
1 changed files with 1 additions and 3 deletions
  1. 1 3
      src/views/accompaniment/index.vue

+ 1 - 3
src/views/accompaniment/index.vue

@@ -238,9 +238,7 @@
             <el-button
               type="text"
               @click="looker(scope.row)"
-              :disabled="
-                !scope.row.url || scope.row.clientType != 'SMART_PRACTICE'
-              "
+              :disabled="(scope.row.isOpenMetronome ? !scope.row.url : !scope.row.metronomeUrl) || scope.row.clientType != 'SMART_PRACTICE'"
               >预览</el-button
             >
             <el-button