Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
semour
/
semour_admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b658ea7c
authored
Nov 30, 2022
by
孙龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
中英文
parent
80d7717d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
app/Admin/Controllers/OrderController.php
resources/views/admin/pages/order-page.blade.php
app/Admin/Controllers/OrderController.php
View file @
b658ea7c
...
...
@@ -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
]);
}
...
...
resources/views/admin/pages/order-page.blade.php
View file @
b658ea7c
...
...
@@ -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>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment