Commit b658ea7c by 孙龙

中英文

parent 80d7717d
......@@ -310,8 +310,9 @@ JS
$info["translation"]=admin_trans("order.order_page_list");
//dump($info);
$lang = $GLOBALS["app"]["config"]["admin"]["lang"] ?? "";
$info["lang"] = $lang == "zh_CN" ? 1 : 2;
return view('admin.pages.order-page',["info"=>$info]);
}
......
......@@ -440,7 +440,7 @@
</script>
<script>
var translation= <?php echo json_encode($info["translation"]); ?>;
var lang = <?php echo $info["lang"]; ?>;
</script>
<script type="text/javascript" src="/assets/js/order/index.js?v={{time()}}"></script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment