Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
aec557e9
Commit
aec557e9
authored
Apr 21, 2019
by
Junling Bu
Browse files
chore[litemall-vue]: 参考litemall-admin结构,重新调整litemall-vue的src结构
parent
8d262f8b
Changes
64
Show whitespace changes
Inline
Side-by-side
litemall-vue/src/views/user/tabbar-user.vue
View file @
aec557e9
...
@@ -14,7 +14,7 @@ import orderGroup from './tabbar-user-order';
...
@@ -14,7 +14,7 @@ import orderGroup from './tabbar-user-order';
// import ecouponGroup from './tabbar-user-ecoupon';
// import ecouponGroup from './tabbar-user-ecoupon';
import
userModule
from
'
./tabbar-user-module
'
;
import
userModule
from
'
./tabbar-user-module
'
;
import
{
removeLocalStorage
}
from
'
core
/utils/local-storage
'
;
import
{
removeLocalStorage
}
from
'
@
/utils/local-storage
'
;
export
default
{
export
default
{
data
()
{
data
()
{
...
...
litemall-vue/src/views/user/user-information-set/index.vue
View file @
aec557e9
...
@@ -41,8 +41,8 @@
...
@@ -41,8 +41,8 @@
<
script
>
<
script
>
import
{
Uploader
,
Picker
,
Popup
,
Button
}
from
'
vant
'
;
import
{
Uploader
,
Picker
,
Popup
,
Button
}
from
'
vant
'
;
import
{
USER_PROFILE
}
from
'
@/api/user
'
;
import
{
USER_PROFILE
}
from
'
@/api/user
'
;
import
{
removeLocalStorage
}
from
'
core
/utils/local-storage
'
;
import
{
removeLocalStorage
}
from
'
@
/utils/local-storage
'
;
import
{
getLocalStorage
}
from
'
core
/utils/local-storage
'
;
import
{
getLocalStorage
}
from
'
@
/utils/local-storage
'
;
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
...
...
litemall-vue/src/views/user/user-information-set/set-password/index.vue
View file @
aec557e9
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
<
script
>
<
script
>
import
{
USER_MODIFY_PASSWORD
,
USER_LOGOUT
}
from
'
@/api/user
'
;
import
{
USER_MODIFY_PASSWORD
,
USER_LOGOUT
}
from
'
@/api/user
'
;
import
{
removeLocalStorage
}
from
'
core
/utils/local-storage
'
;
import
{
removeLocalStorage
}
from
'
@
/utils/local-storage
'
;
import
{
Field
}
from
'
vant
'
;
import
{
Field
}
from
'
vant
'
;
...
...
litemall-vue/src/vue/event-bus/index.js
deleted
100644 → 0
View file @
8d262f8b
export
default
{
install
(
Vue
)
{
Vue
.
prototype
.
$bus
=
new
Vue
({
data
()
{
return
{
item_list
:
[]
};
},
created
()
{
this
.
$on
(
'
item_list
'
,
val
=>
{
const
isArr
=
Array
.
isArray
(
val
);
if
(
isArr
)
{
this
.
item_list
=
val
;
}
else
{
throw
Error
(
'
item_list必须为数组
'
);
}
});
}
});
}
};
Prev
1
2
3
4
Next
Write
Preview
Supports
Markdown
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