diff --git a/admin/src/views/about/About.vue b/admin/src/views/about/About.vue index a919022..640a108 100644 --- a/admin/src/views/about/About.vue +++ b/admin/src/views/about/About.vue @@ -2,7 +2,7 @@ * @Author: liuyx 1517482303@qq.com * @Date: 2022-11-15 10:36:30 * @LastEditors: liuyx 1517482303@qq.com - * @LastEditTime: 2022-11-21 17:19:54 + * @LastEditTime: 2022-11-21 17:46:46 * @FilePath: \admin\src\views\about\About.vue * @Description: 关于我 的编辑 * @@ -10,45 +10,10 @@ --> @@ -56,62 +21,23 @@ import { ref } from 'vue' import { ElMessage } from 'element-plus' -const userInfo = ref({ - avatarUrl: 'https://liuyxcc.github.io/img/avatar.png', - name: 'Liuyx', - sentence: '过去与未来,存在于每个当下。', - state: '抓住现在', - github: 'https://github.com/liuyxcc', - gitee: 'https://gitee.com/liuyxcc', - about: '' -}) +const aboutText = ref('') -const submitUserInfo = () => { +const submit = () => { ElMessage({ - message: userInfo.value, + message: aboutText.value, type: 'success' }) - console.log(userInfo.value) + console.log(aboutText.value) } - -