linwenxin hace 5 meses
padre
commit
151159b3b6
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      src/views/networkSigning/index.vue

+ 1 - 2
src/views/networkSigning/index.vue

@@ -6,14 +6,13 @@
 import { websitContractSignSign } from '@/api/networkContractSigning'
 export default {
   mounted() {
-    console.log(this.$route)
     if (this.$route?.query?.id) {
       websitContractSignSign({
         id: this.$route?.query?.id,
         returnUrl: `${window.location.href.split('#')?.[0]}#/networkSigning?id=${this.$route?.query?.id}`
       }).then(res => {
         if (res.data.jump) {
-          window.open(res.data.url, '_blank')
+          window.location.href = res.data.url
         } else {
           window.location.href = `${
             window.location.href.split('#')?.[0]