|
|
@@ -135,7 +135,7 @@
|
|
|
}
|
|
|
<#list model.fields as field>
|
|
|
<#if (field.formType == 'select' || field.formType == 'multiSelect') && field.apiFlag == '2'>
|
|
|
- this.$http.get('${field.optionsMethod}', {size: 1000, query: {del: false}}).then(res => {
|
|
|
+ this.$http.post('${field.optionsMethod}', {size: 1000, query: {del: false}}, {body: 'json'}).then(res => {
|
|
|
if (res.content.length > 0) {
|
|
|
res.content.forEach(item => {
|
|
|
this.${field.modelName}Options.push({
|