diff --git a/src/layout/components/Sidebar/Logo.vue b/src/layout/components/Sidebar/Logo.vue index 05acb75..76db837 100644 --- a/src/layout/components/Sidebar/Logo.vue +++ b/src/layout/components/Sidebar/Logo.vue @@ -25,7 +25,7 @@ export default { }, data() { return { - title: '禅易精舍后台管理系统', + title: '禅易云生态管理系统', logo: Logo } } diff --git a/src/router/routers.js b/src/router/routers.js index ac39b96..a13e2c3 100644 --- a/src/router/routers.js +++ b/src/router/routers.js @@ -67,11 +67,12 @@ export const constantRouterMap = [ }, component: (resolve) => require(['@/components/editorMaterial/index'], resolve), hidden: true - } + }, + { path: '*', component: (resolve) => require(['@/views/home'], resolve) } ] export default new Router({ - mode: 'hash', + mode: 'history', scrollBehavior: () => ({ y: 0 }), routes: constantRouterMap }) diff --git a/src/store/getters.js b/src/store/getters.js index ffc9f37..03e3313 100644 --- a/src/store/getters.js +++ b/src/store/getters.js @@ -19,6 +19,7 @@ const getters = { uploadApi: state => state.api.uploadApi, updateAvatarApi: state => state.api.updateAvatarApi, qiNiuUploadApi: state => state.api.qiNiuUploadApi, + wechatUploadApi: state => state.api.wechatUploadApi, sqlApi: state => state.api.sqlApi, swaggerApi: state => state.api.swaggerApi } diff --git a/src/store/modules/api.js b/src/store/modules/api.js index d26c39f..a63382d 100644 --- a/src/store/modules/api.js +++ b/src/store/modules/api.js @@ -12,6 +12,9 @@ const api = { // 修改头像 updateAvatarApi: baseUrl + '/api/users/updateAvatar', // 上传文件到七牛云 + wechatUploadApi: baseUrl + '/api/wechat/upload', + + // 公众号自动回复上传图片地址 qiNiuUploadApi: baseUrl + '/api/qiNiuContent', uploadApi: baseUrl + '/api/upload', diff --git a/src/views/wechat/reply/addReply.vue b/src/views/wechat/reply/addReply.vue index 1a8831b..3bf9140 100644 --- a/src/views/wechat/reply/addReply.vue +++ b/src/views/wechat/reply/addReply.vue @@ -41,7 +41,7 @@
- +
@@ -105,7 +105,7 @@
- +
@@ -117,10 +117,12 @@
- + + + + + +
@@ -130,15 +132,46 @@
-
-