瀏覽代碼

Merge branch 'master' of http://47.100.37.243:10080/wutt/game

# Conflicts:
#	minigame/WebContent/js/main.js
sunyadv 5 年之前
父節點
當前提交
b7c6442c46
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      minigame/WebContent/js/main.js

+ 1 - 1
minigame/WebContent/js/main.js

@@ -614,7 +614,7 @@ function handleComplete(evt, comp) {
                         })
 
 
-                        if(document.location.href.indexOf('type') > -1){
+                        if(document.location.href.indexOf('type') == -1){
                             var href = document.location.href + (document.location.href.indexOf('?') > -1?'&':'?') + "type=" + chooseType + "&food=" + dishIndex;
                             history.pushState("", "Title", href);
                         }