lex-xin %!s(int64=3) %!d(string=hai) anos
pai
achega
6374caa518
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  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