11wqe1 3 月之前
父節點
當前提交
51052ee1cc
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/mixins/mixin.js

+ 2 - 0
src/mixins/mixin.js

@@ -34,6 +34,8 @@ export const myMixin = {
       }
     },
     async addOp3(userTime, loadTime, object, status) {
+      if (!this.$route.query.userid) return
+
       try {
         if(!this.userJson || !this.userJson.accountNumber){
             let res = await this.ajax.get(this.$store.state.api + "selectUser", {