Kaynağa Gözat

增加了来源字段 与 touken接收

dedsudiyu 3 ay önce
ebeveyn
işleme
5465306869
1 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  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
                 }