feat(login): 删除还没有账号? 注册
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 2m19s
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 2m19s
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-tooltip
|
||||
effect="dark"
|
||||
:content="`按下 ^ 键也能回到顶部哦 ${EmojiText[200]}`"
|
||||
placement="left-start"
|
||||
>
|
||||
<el-tooltip effect="dark" content="按下 ^ 键也能回到顶部哦" placement="left-start">
|
||||
<div class="back-to-top" v-show="showButton" @click="scrollToTop">
|
||||
<div class="back-to-top-btn">
|
||||
<i class="iconfont-sys"></i>
|
||||
@@ -17,7 +13,6 @@
|
||||
|
||||
<script setup lang="ts">
|
||||
import { useCommon } from '@/composables/useCommon'
|
||||
import EmojiText from '@/utils/ui/emojo'
|
||||
import { ref, watch } from 'vue'
|
||||
const { scrollToTop } = useCommon()
|
||||
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
import { Editor, Toolbar } from '@wangeditor/editor-for-vue'
|
||||
import { useUserStore } from '@/store/modules/user'
|
||||
import { ElMessage } from 'element-plus'
|
||||
import EmojiText from '@/utils/ui/emojo'
|
||||
import { IDomEditor } from '@wangeditor/editor'
|
||||
|
||||
const modelValue = defineModel<string>({ required: true })
|
||||
@@ -64,12 +63,12 @@
|
||||
headers: { Authorization: accessToken },
|
||||
// 单个文件上传成功之后
|
||||
onSuccess() {
|
||||
ElMessage.success(`图片上传成功 ${EmojiText[200]}`)
|
||||
ElMessage.success('图片上传成功')
|
||||
},
|
||||
// 上传错误,或者触发 timeout 超时
|
||||
onError(file: File, err: any, res: any) {
|
||||
console.log(`上传出错`, err, res)
|
||||
ElMessage.error(`图片上传失败 ${EmojiText[500]}`)
|
||||
ElMessage.error('图片上传失败')
|
||||
}
|
||||
// 注意:返回格式需要按照指定格式返回,才能显示图片
|
||||
// 上传成功的返回格式:
|
||||
|
||||
Reference in New Issue
Block a user