refactor(writer-material-center): 优化稿件编辑表单和登录组件- 移除了未使用的导入和脚本
- 优化了代码结构,提高了代码的可读性和维护性
This commit is contained in:
@ -522,12 +522,6 @@ function reset() {
|
|||||||
const emit = defineEmits(['submit']);
|
const emit = defineEmits(['submit']);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
name: 'PuzzleVerification',
|
|
||||||
};
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.vue-puzzle-vcode {
|
.vue-puzzle-vcode {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
<script src="../../../../../../material-center/components/finished-products/manuscript/check-list/constants.ts"></script>
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
import { Button, Form, FormItem, Input, message, Upload } from 'ant-design-vue';
|
import { Button, Form, FormItem, Input, message, Upload } from 'ant-design-vue';
|
||||||
@ -12,8 +11,6 @@ import { formatFileSize, getVideoInfo, formatDuration, formatUploadSpeed } from
|
|||||||
import { EnumManuscriptType } from '@/views/writer-material-center/components/finished-products/manuscript/list/constants.ts';
|
import { EnumManuscriptType } from '@/views/writer-material-center/components/finished-products/manuscript/list/constants.ts';
|
||||||
import { getVideoPreSignedUrlWriter, getImagePreSignedUrlWriter } from '@/api/all/generationWorkshop-writer';
|
import { getVideoPreSignedUrlWriter, getImagePreSignedUrlWriter } from '@/api/all/generationWorkshop-writer';
|
||||||
|
|
||||||
// import icon1 from '@/assets/img/creative-generation-workshop/icon-close.png';
|
|
||||||
|
|
||||||
// 表单验证规则
|
// 表单验证规则
|
||||||
const FORM_RULES = {
|
const FORM_RULES = {
|
||||||
title: [{ required: true, message: '请输入标题' }],
|
title: [{ required: true, message: '请输入标题' }],
|
||||||
|
|||||||
Reference in New Issue
Block a user