BUG 27827

This commit is contained in:
aixianling
2022-03-01 15:27:33 +08:00
parent 7bcee2b1b6
commit 7a87dd25d2
2 changed files with 3 additions and 3 deletions

View File

@@ -38,7 +38,7 @@
</template>
<template slot="footer">
<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>
</ai-detail>
</template>

View File

@@ -53,7 +53,7 @@
</template>
<template slot="footer">
<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>
</ai-detail>
</template>
@@ -116,7 +116,7 @@ export default {
this.$refs['ruleForm']?.clearValidate('videoUrl');
const fileType = file.file.name.split(".")[1];
const size = file.file.size / 1024 / 1024 > 100;
if (size) {
return this.$message.error("视频大小不能超过100M");
}