Browse Source

修复执行动作bug

tbphp 2 years ago
parent
commit
f235b7c798

+ 1 - 1
index.html

@@ -1 +1 @@
-<!DOCTYPE html><html><head><meta charset=utf-8><title>SVM - Sql Version Manager</title><link href=/vue/dist/css/app.ad4e5afd38d4976d90e042e4e7ba8ceb.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/vue/dist/js/manifest.d7d5fb68d3b6656ed87a.js></script><script type=text/javascript src=/vue/dist/js/vendor.c2ab78724fa3eeb77bcd.js></script><script type=text/javascript src=/vue/dist/js/app.fb76a4f5791ba976f64f.js></script></body></html>
+<!DOCTYPE html><html><head><meta charset=utf-8><title>SVM - Sql Version Manager</title><link href=/vue/dist/css/app.ad4e5afd38d4976d90e042e4e7ba8ceb.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/vue/dist/js/manifest.40ad10bbb134c7af1781.js></script><script type=text/javascript src=/vue/dist/js/vendor.a204ca364779259cb411.js></script><script type=text/javascript src=/vue/dist/js/app.a4d022d2b58806b25a88.js></script></body></html>

File diff suppressed because it is too large
+ 1 - 0
vue/dist/js/0.a5c367713234fde5fbf6.js


File diff suppressed because it is too large
+ 0 - 1
vue/dist/js/0.fc332425a2bff2b9cc29.js


vue/dist/js/1.591703a4d488c7e10b51.js → vue/dist/js/1.b48199b561749e918741.js


File diff suppressed because it is too large
+ 1 - 1
vue/dist/js/3.6434fa497926bc3bfe79.js


File diff suppressed because it is too large
+ 1 - 1
vue/dist/js/2.19be7ba8a12a8b0deb08.js


vue/dist/js/4.98cb25571edd6f8c3e0c.js → vue/dist/js/4.500200675d58e9cb81ed.js


File diff suppressed because it is too large
+ 1 - 1
vue/dist/js/app.fb76a4f5791ba976f64f.js


File diff suppressed because it is too large
+ 1 - 0
vue/dist/js/manifest.40ad10bbb134c7af1781.js


File diff suppressed because it is too large
+ 0 - 1
vue/dist/js/manifest.d7d5fb68d3b6656ed87a.js


vue/dist/js/vendor.c2ab78724fa3eeb77bcd.js → vue/dist/js/vendor.a204ca364779259cb411.js


+ 5 - 2
vue/src/cpt/Index.vue

@@ -89,20 +89,23 @@
         if (this.selEnv === null) {
           this.listData = null
           this.total = 0
+          this.isRun = false
         } else {
           this.$http.get('data', {params: {eid: this.selEnv, page: this.page}}).then(({total, list}) => {
             this.total = total
             this.listData = list
+            let isrun = false
             if (total > 0) {
               for (let e of this.env) {
                 if (e.id === this.selEnv) {
-                  if (e.type === 1) {
-                    this.isRun = true
+                  if (e.type === '1') {
+                    isrun = true
                   }
                   break
                 }
               }
             }
+            this.isRun = isrun
           }, () => {})
         }
       },