BUG 27827
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user