@ -3,6 +3,6 @@ src/assets
public
dist
src/views
src/components
@ -21,4 +21,3 @@ export function getChartData() {
})
}
@ -28,7 +28,7 @@ export function info (id) {
return request({
url: `api/yxStoreProductRule/rule/${id}`,
method: 'get'
});
export default { add, edit, del, info }
@ -30,7 +30,6 @@ export function publish(id) {
export function get(id) {
url: 'api/yxArticle/info/' + id,
@ -28,7 +28,7 @@ export function getCity() {
url: 'api/yxShippingTemplates/citys',
export default { add, edit, del, getCity }
@ -39,7 +39,6 @@ export function editp(data) {
export function getSpread(data) {
url: 'api/yxUser/spread',
@ -7,7 +7,7 @@ export default class Dict {
async init(names, completeCallback) {
if (names === undefined || name === null) {
if (names === undefined) {
throw new Error('need Dict names')
const ps = []
@ -67,7 +67,7 @@ export const constantRouterMap = [
},
component: (resolve) => require(['@/components/editorMaterial/index'], resolve),
hidden: true
]
export default new Router({