Browse Source

上传代码

master
杨豪 4 years ago
parent
commit
97bcecde6e
  1. 2
      .eslintignore
  2. 1
      src/api/monitor/visits.js
  3. 2
      src/api/storeProductRule.js
  4. 1
      src/api/yxArticle.js
  5. 2
      src/api/yxShippingTemplates.js
  6. 1
      src/api/yxUser.js
  7. 2
      src/components/Dict/Dict.js
  8. 2
      src/router/routers.js

2
.eslintignore

@ -3,6 +3,6 @@ src/assets
public
dist
src/views
src/components

1
src/api/monitor/visits.js

@ -21,4 +21,3 @@ export function getChartData() {
})
}

2
src/api/storeProductRule.js

@ -28,7 +28,7 @@ export function info (id) {
return request({
url: `api/yxStoreProductRule/rule/${id}`,
method: 'get'
});
})
}
export default { add, edit, del, info }

1
src/api/yxArticle.js

@ -30,7 +30,6 @@ export function publish(id) {
})
}
export function get(id) {
return request({
url: 'api/yxArticle/info/' + id,

2
src/api/yxShippingTemplates.js

@ -28,7 +28,7 @@ export function getCity() {
return request({
url: 'api/yxShippingTemplates/citys',
method: 'get'
});
})
}
export default { add, edit, del, getCity }

1
src/api/yxUser.js

@ -39,7 +39,6 @@ export function editp(data) {
})
}
export function getSpread(data) {
return request({
url: 'api/yxUser/spread',

2
src/components/Dict/Dict.js

@ -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 = []

2
src/router/routers.js

@ -67,7 +67,7 @@ export const constantRouterMap = [
},
component: (resolve) => require(['@/components/editorMaterial/index'], resolve),
hidden: true
},
}
]
export default new Router({

Loading…
Cancel
Save