默认提交
Showing
3 changed files
with
21 additions
and
2 deletions
... | @@ -19,7 +19,12 @@ export default { | ... | @@ -19,7 +19,12 @@ export default { |
19 | components: {}, | 19 | components: {}, |
20 | methods: { | 20 | methods: { |
21 | onFavoriteHandler() { | 21 | onFavoriteHandler() { |
22 | 22 | this.$router.push({ | |
23 | path: "/shop/detail", | ||
24 | query: { | ||
25 | c: "c870bafe904b483eaf1e8f91da9fe5a2", | ||
26 | } | ||
27 | }) | ||
23 | }, | 28 | }, |
24 | onContactUsHandler() { | 29 | onContactUsHandler() { |
25 | 30 | ... | ... |
... | @@ -10,7 +10,7 @@ export default { | ... | @@ -10,7 +10,7 @@ export default { |
10 | data() { | 10 | data() { |
11 | return { | 11 | return { |
12 | key: 'value', | 12 | key: 'value', |
13 | contactUsVisible: true, | 13 | contactUsVisible: false, |
14 | store: {}, | 14 | store: {}, |
15 | storeCollect: 0, | 15 | storeCollect: 0, |
16 | page: 1, | 16 | page: 1, | ... | ... |
sync.sh
0 → 100755
1 | # chmod u+x sync.sh | ||
2 | cp -R dist/* /Users/simonfung/simonfungc/work/workspace/git/vuejs/baohui-jewelry | ||
3 | |||
4 | cd /Users/simonfung/simonfungc/work/workspace/git/vuejs/baohui-jewelry | ||
5 | |||
6 | read -p "请输入commit提交的描述: " msg | ||
7 | |||
8 | if [[ $msg == "" ]]; then | ||
9 | msg="默认提交" | ||
10 | fi | ||
11 | git add -A | ||
12 | git commit -m $msg | ||
13 | git push | ||
14 | git status |
-
Please register or sign in to post a comment