|
@@ -140,10 +140,6 @@ export default {
|
|
|
},
|
|
|
// http-request属性来覆盖默认的上传行为(即action="url"),自定义上传的实现
|
|
|
upload(file) {
|
|
|
- if (!this.form.kindergartenId) {
|
|
|
- this.$error('请先选择幼儿园');
|
|
|
- return false;
|
|
|
- }
|
|
|
const _that = this;
|
|
|
async function multipartUpload() {
|
|
|
let temporary = file.file.name.lastIndexOf('.');
|
|
@@ -198,3 +194,12 @@ export default {
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped></style>
|
|
|
+
|
|
|
+<style>
|
|
|
+ .el-upload {
|
|
|
+ width: 100%;
|
|
|
+ }
|
|
|
+ .el-upload-dragger {
|
|
|
+ width: 100%;
|
|
|
+ }
|
|
|
+</style>
|