Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
integral-mall
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
integralMall
integral-mall
Commits
0e5404d3
Commit
0e5404d3
authored
Aug 10, 2020
by
chenxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: build
parent
6d94ad09
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
3 deletions
+5
-3
index.html
dist/index.html
+2
-2
app.5e5109db5cdfeb7b4656.js
dist/static/js/app.5e5109db5cdfeb7b4656.js
+0
-0
index.js
src/router/index.js
+2
-0
limiting.js
src/utils/limiting.js
+1
-1
No files found.
dist/index.html
View file @
0e5404d3
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><link
rel=
stylesheet
type=
text/css
href=
./static/css/iconfont.css
><link
rel=
stylesheet
type=
text/css
href=
./static/css/common.css
><link
rel=
"shortcut icon"
type=
image/x-icon
href=
./static/img/favicon.ico
><title>
积分商城
</title><link
href=
./static/css/app.15ac1aa39dd8b8e018b70f528db45463.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.5.2/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/elementUI/index.2.5.4.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/header.2.0.35.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/aside-menu.2.0.12.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/store-linkage.2.0.41.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/store-new.2.0.11.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/card.2.0.06.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/export-excel.2.0.13.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/people.2.0.26.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/delete.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/store-card.2.0.18.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js
></script><script
type=
text/javascript
src=
./static/js/manifest.3ad1d5771e9b13dbdad2.js
></script><script
type=
text/javascript
src=
./static/js/vendor.40751fde931b32dd5f6c.js
></script><script
type=
text/javascript
src=
./static/js/app.d0422485c368a453f722.js
></script></body></html>
\ No newline at end of file
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><link
rel=
stylesheet
type=
text/css
href=
./static/css/iconfont.css
><link
rel=
stylesheet
type=
text/css
href=
./static/css/common.css
><link
rel=
"shortcut icon"
type=
image/x-icon
href=
./static/img/favicon.ico
><title>
积分商城
</title><link
href=
./static/css/app.15ac1aa39dd8b8e018b70f528db45463.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.5.2/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/elementUI/index.2.5.4.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/header.2.0.35.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/aside-menu.2.0.12.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/store-linkage.2.0.41.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/store-new.2.0.11.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/card.2.0.06.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/export-excel.2.0.13.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/people.2.0.26.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/delete.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/store-card.2.0.18.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js
></script><script
type=
text/javascript
src=
./static/js/manifest.3ad1d5771e9b13dbdad2.js
></script><script
type=
text/javascript
src=
./static/js/vendor.40751fde931b32dd5f6c.js
></script><script
type=
text/javascript
src=
./static/js/app.5e5109db5cdfeb7b4656.js
></script></body></html>
\ No newline at end of file
dist/static/js/app.
d0422485c368a453f722
.js
→
dist/static/js/app.
5e5109db5cdfeb7b4656
.js
View file @
0e5404d3
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/router/index.js
View file @
0e5404d3
...
...
@@ -118,7 +118,9 @@ const router = new Router({
});
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
console
.
log
(
'to1'
,
to
.
meta
.
useMenuLimit
);
if
(
to
.
meta
.
useMenuLimit
==
true
)
{
console
.
log
(
'to2'
,
store
.
state
.
product
.
canUseMenuUrl
.
includes
(
to
.
path
));
if
(
store
.
state
.
product
.
canUseMenuUrl
.
includes
(
to
.
path
))
{
next
();
}
else
{
...
...
src/utils/limiting.js
View file @
0e5404d3
...
...
@@ -7,7 +7,7 @@ export default config => {
window
.
onload
=
async
function
()
{
try
{
// 获取用户企业id
let
loginUserRes
=
await
request
.
get
(
`/api-auth/get-current-memu-data?project=integral-mall&path=
path=
${
window
.
location
.
hash
.
split
(
'/'
)[
1
]}
&requestProject=integral-mall`
);
let
loginUserRes
=
await
request
.
get
(
`/api-auth/get-current-memu-data?project=integral-mall&path=
${
window
.
location
.
hash
.
split
(
'/'
)[
1
]}
&requestProject=integral-mall`
);
const
leftMenu
=
loginUserRes
.
data
.
result
.
leftMenu
||
[];
let
_leftMenuLimit
=
[];
leftMenu
.
forEach
(
element
=>
{
...
...
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