Commit 7884af94 authored by guoyou's avatar guoyou

峰会修改

parent b7429c70
......@@ -154,20 +154,19 @@ export default {
},
methods: {
vidioSuccess(res) {
console.log(res)
this.$notify({
title: '成功',
title: '提示',
message: res.message,
type: 'success',
duration: 2000
})
},
beforeAvatarUpload(file) {
const zip = file.type === 'application/zip'
if (!zip) {
this.$message.error('上传头像图片只能是 zip 格式!')
}
return zip
// const zip = file.type === 'application/zip'
// if (!zip) {
// this.$message.error('上传头像图片只能是 zip 格式!')
// }
// return zip
},
videoUpload(file) {
console.log(file.type)
......@@ -249,7 +248,7 @@ export default {
handlePictureCardPreview(res, file) {
this.$notify({
title: '成功',
title: '提示',
message: res.message,
type: 'success',
duration: 2000
......
<template>
<el-dialog :title="title" :visible.sync="dialogVisible" class="order-details">
<el-dialog :title="title" :visible.sync="dialogVisible" class="order-details" :close-on-click-modal='false'>
<div>
<!-- <el-form :model="ruleForm2" :rules="rules2" ref="ruleForm2" label-width="100px" class="demo-ruleForm"> -->
<el-form :model="form" ref="form" :rules="rules" label-width="120px">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment