mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-13 04:46:46 +08:00
fix bug
This commit is contained in:
@@ -86,6 +86,7 @@
|
||||
</div>
|
||||
<div class="item_inp" style="background-color: #fff;">
|
||||
<a-upload name="avatar" list-type="picture-card" class="avatar-uploader" :show-upload-list="false"
|
||||
:headers="headers"
|
||||
:before-upload="beforeUpload">
|
||||
<img class="i_upload_img" v-if="imageUrl" :src="imageUrl" alt="avatar" />
|
||||
<div class="i_upload" v-else>
|
||||
@@ -227,6 +228,7 @@ import AddInvistRoot from "@/components/drawers/AddInvistRoot.vue";
|
||||
import { Form, message } from "ant-design-vue";
|
||||
import { fileUp } from "../../api/indexEval";
|
||||
import {useResetRef} from "@/utils/useCommon";
|
||||
import {getCookieForName} from "@/api/method";
|
||||
|
||||
const removePG = () => {
|
||||
formData.value.assessmentId = "";
|
||||
@@ -243,6 +245,7 @@ const props = defineProps({
|
||||
taskList: [],
|
||||
});
|
||||
const visible = ref(false);
|
||||
const headers = { token: getCookieForName("token") };
|
||||
const formData = useResetRef({
|
||||
liveName: "",
|
||||
liveLink: "",
|
||||
|
||||
Reference in New Issue
Block a user