diff --git a/src/api/index.js b/src/api/index.js index 9bfecb0..7456284 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -17,6 +17,7 @@ export default { user: `iasf/sys/user`, updateUser: `iasf/sys/updateUser`, queryUser: `iasf/sys/queryUser`, + personalData: `iasf/sys/personalData`, deletedUser: `iasf/sys/deletedUser`, sendPhoneOrEmailCode: `iasf/sys/sendPhoneOrEmailCode`, updatePhoneOrEmail: `iasf/sys/updatePhoneOrEmail`, diff --git a/src/components/editor.js b/src/components/editor.js index b82408e..7824f3e 100644 --- a/src/components/editor.js +++ b/src/components/editor.js @@ -307,7 +307,6 @@ export default { toolbar_mode : 'wrap', // automatic_uploads: true, // images_upload_base_path: '/demo', - // images_upload_url: 'http://10.10.11.7:10000/iasf/sysFiles/upload', paste_data_images: true, powerpaste_allow_local_images: true, powerpaste_word_import: 'clean', diff --git a/src/pages/article/add/editor.js b/src/pages/article/add/editor.js index 852a8fd..b84fcce 100644 --- a/src/pages/article/add/editor.js +++ b/src/pages/article/add/editor.js @@ -386,7 +386,6 @@ export default { toolbar_mode : 'wrap', // automatic_uploads: true, // images_upload_base_path: '/demo', - // images_upload_url: 'http://10.10.11.7:10000/iasf/sysFiles/upload', paste_data_images: true, powerpaste_allow_local_images: true, powerpaste_word_import: 'clean', diff --git a/src/pages/setting/list/info.vue b/src/pages/setting/list/info.vue index f8aeb0c..53fcda1 100644 --- a/src/pages/setting/list/info.vue +++ b/src/pages/setting/list/info.vue @@ -274,7 +274,7 @@ export default { // 获取用户信息 getData () { this.loading = true - this.$post(this.api.queryUser, Util.rsa(this.userId)).then(({ data }) => { + this.$post(this.api.personalData).then(({ data }) => { this.form = data this.loading = false }).catch(err => { })