Explorar el Código

个人显示设置完成后刷新 原界面

bruce hace 5 años
padre
commit
0a49e467fc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      pages/otherpage/userSetting/show.vue

+ 1 - 1
pages/otherpage/userSetting/show.vue

@@ -86,7 +86,7 @@
           if (data.status === 1) {
             this.$message.success('提交成功')
             setTimeout(() => {
-              history.back()
+              window.location.replace(document.referrer);
             }, 1000)
           } else {
             this.$message.error('提交失败')