Преглед изворни кода

增加了来源字段 与 touken接收

dedsudiyu пре 3 месеци
родитељ
комит
5465306869
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      src/App.vue

+ 3 - 3
src/App.vue

@@ -41,15 +41,15 @@
             getUrl() {
                 let self = this;
                 let text = window.location.href;
-                if(text.indexOf('touken') != -1){
+                if(text.indexOf('touken') == -1){
                     this.$set(this,'nullType','参数异常,请联系管理员');
                     return
                 }
-                if(text.indexOf('source') != -1){
+                if(text.indexOf('source') == -1){
                     this.$set(this,'nullType','参数异常,请联系管理员');
                     return
                 }
-                if(text.indexOf('type') != -1){
+                if(text.indexOf('type') == -1){
                     this.$set(this,'nullType','参数异常,请联系管理员');
                     return
                 }