Commit d3c474d4 authored by v_liuhuaizhi's avatar v_liuhuaizhi

文章编辑--init

parent 0da9fc26
......@@ -125,6 +125,13 @@ export const constantRoutes = [
component: () => import('@/views/article-management/article-management'),
name: 'Article-management',
meta: { title: '文章管理', icon: 'component' }
},
{
path: 'article-edit',
props: true,
component: () => import('@/views/article-management/article-edit'),
name: 'Article-edit',
meta: { title: '文章编辑', icon: 'component' }
}
]
},
......
......@@ -309,7 +309,7 @@ export default {
this.reset()
console.log("start to edit...")
this.$router.push({
name: 'ArticleEdit', params: { id: row.id }
name: 'Article-edit', params: { id: row.id }
})
},
/** 删除按钮操作 */
......
......@@ -69,7 +69,7 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
target: `https://localhost:8090`,
target: `http://114.67.241.140:8091`,
hangeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment