forked from shen100/wemall
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
刘珅
committed
Mar 31, 2017
1 parent
bc47f8c
commit 4180ef2
Showing
60 changed files
with
907 additions
and
1,617 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
// Extend existing configuration | ||
// from ESlint and eslint-plugin-react defaults. | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:react/recommended" | ||
], | ||
// Enable ES6 support. If you want to use custom Babel | ||
// features, you will need to enable a custom parser | ||
// as described in a section below. | ||
"parserOptions": { | ||
"ecmaVersion": 6, | ||
"sourceType": "module" | ||
}, | ||
"env": { | ||
"browser": true, | ||
"node": true | ||
}, | ||
// Enable custom plugin known as eslint-plugin-react | ||
"plugins": [ | ||
"react" | ||
], | ||
"rules": { | ||
// Disable `no-console` rule | ||
"no-console": 0, | ||
// Give a warning if identifiers contain underscores | ||
"no-underscore-dangle": 1, | ||
// Default to single quotes and raise an error if something | ||
// else is used | ||
"quotes": [2, "single"] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"database": { | ||
"Dialect" : "mysql", | ||
"Database" : "wemall", | ||
"User" : "root", | ||
"Password" : "test1234", | ||
"Charset" : "utf8", | ||
"SQLLog" : true, | ||
"URL" : "" | ||
}, | ||
"page": { | ||
"Title" : "微信商城", | ||
"SitePath" : "", | ||
"JSPath" : "/javascripts", | ||
"ImagePath" : "/images", | ||
"CSSPath" : "/styles" | ||
}, | ||
"server": { | ||
"Debug" : true, | ||
"URL" : "http://wemall.shen100.com", | ||
"Port" : 8010, | ||
"StaticPort" : 8011, | ||
"MaxOrder" : 10000, | ||
"MinOrder" : 0, | ||
"PageSize" : 20, | ||
"MaxPageSize" : 100, | ||
"MinPageSize" : 20, | ||
"MaxNameLen" : 100, | ||
"MaxRemarkLen" : 500, | ||
"MaxContentLen" : 10000, | ||
"MaxProductCateCount" : 6 | ||
} | ||
} |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
let nextTodoId = 0 | ||
export const addTodo = (text) => { | ||
return { | ||
type: 'ADD_TODO', | ||
id: nextTodoId++, | ||
text | ||
} | ||
} | ||
|
||
export const setVisibilityFilter = (filter) => { | ||
return { | ||
type: 'SET_VISIBILITY_FILTER', | ||
filter | ||
} | ||
} | ||
|
||
export const toggleTodo = (id) => { | ||
return { | ||
type: 'TOGGLE_TODO', | ||
id | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
141 changes: 0 additions & 141 deletions
141
client/javascripts/admin/category/components/CreateCategory.vue
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.