Commit 91d4095e authored by liwei's avatar liwei

修改了上传逻辑

parent f01a9614
...@@ -470,6 +470,7 @@ export default { ...@@ -470,6 +470,7 @@ export default {
this.isOperation = this.$route.query.isOperation this.isOperation = this.$route.query.isOperation
// 页面加载时根据 isOperation 设置表单的默认值 // 页面加载时根据 isOperation 设置表单的默认值
this.setFormDefaults() this.setFormDefaults()
this.getUploadType()
}, },
methods: { methods: {
// 获取上传类型 // 获取上传类型
......
...@@ -277,6 +277,7 @@ export default { ...@@ -277,6 +277,7 @@ export default {
this.isOperation = this.$route.query.isOperation this.isOperation = this.$route.query.isOperation
// 页面加载时根据 isOperation 设置表单的默认值 // 页面加载时根据 isOperation 设置表单的默认值
this.setFormDefaults() this.setFormDefaults()
this.getUploadType()
}, },
methods: { methods: {
// 获取上传类型 // 获取上传类型
......
...@@ -815,6 +815,7 @@ export default { ...@@ -815,6 +815,7 @@ export default {
this.isOperation = this.$route.query.isOperation this.isOperation = this.$route.query.isOperation
// 页面加载时根据 isOperation 设置表单的默认值 // 页面加载时根据 isOperation 设置表单的默认值
this.setFormDefaults() this.setFormDefaults()
this.getUploadType()
}, },
methods: { methods: {
// 获取上传类型 // 获取上传类型
......
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