BUG 27827
This commit is contained in:
@@ -38,7 +38,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<template slot="footer">
|
<template slot="footer">
|
||||||
<el-button class="footer_btn" @click="$emit('goBack')">取消</el-button>
|
<el-button class="footer_btn" @click="$emit('goBack')">取消</el-button>
|
||||||
<el-button class="footer_btn" @click="handleSubmit('0')">保存</el-button>
|
<el-button type="primary" class="footer_btn" @click="handleSubmit('0')">保存</el-button>
|
||||||
</template>
|
</template>
|
||||||
</ai-detail>
|
</ai-detail>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -53,7 +53,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<template slot="footer">
|
<template slot="footer">
|
||||||
<el-button class="footer_btn" @click="$emit('goBack')">取消</el-button>
|
<el-button class="footer_btn" @click="$emit('goBack')">取消</el-button>
|
||||||
<el-button class="footer_btn" @click="handleSubmit('0')">保存</el-button>
|
<el-button type="primary" class="footer_btn" @click="handleSubmit('0')">保存</el-button>
|
||||||
</template>
|
</template>
|
||||||
</ai-detail>
|
</ai-detail>
|
||||||
</template>
|
</template>
|
||||||
@@ -116,7 +116,7 @@ export default {
|
|||||||
this.$refs['ruleForm']?.clearValidate('videoUrl');
|
this.$refs['ruleForm']?.clearValidate('videoUrl');
|
||||||
const fileType = file.file.name.split(".")[1];
|
const fileType = file.file.name.split(".")[1];
|
||||||
const size = file.file.size / 1024 / 1024 > 100;
|
const size = file.file.size / 1024 / 1024 > 100;
|
||||||
|
|
||||||
if (size) {
|
if (size) {
|
||||||
return this.$message.error("视频大小不能超过100M");
|
return this.$message.error("视频大小不能超过100M");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user