JeecgBoot 2.4.6版本发布

This commit is contained in:
zhangdaiscott
2021-08-13 15:26:20 +08:00
parent 986f909628
commit 664413e5d7
57 changed files with 1306 additions and 329 deletions

View File

@ -22,11 +22,11 @@
:disabled="disabled">
</j-tree-select>
</a-form-model-item>
<a-form-model-item label="分类名称" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="name">
<a-input v-model="model.name" placeholder="请输入分类名称"></a-input>
</a-form-model-item>
</a-form-model>
</a-spin>
</a-modal>
@ -36,10 +36,10 @@
import { httpAction,getAction } from '@/api/manage'
import JTreeSelect from '@/components/jeecg/JTreeSelect'
export default {
name: "SysCategoryModal",
components: {
components: {
JTreeSelect
},
data () {
@ -70,7 +70,7 @@
expandedRowKeys:[],
pidField:"pid",
subExpandedKeys:[]
}
},
created () {
@ -111,7 +111,8 @@
httpAction(httpurl,this.model,method).then((res)=>{
if(res.success){
that.$message.success(res.message);
that.submitSuccess(this.model)
// close的时候清空了表单的值 导致model为空 修改值在列表页没有变 此处需要复制一下model
that.submitSuccess({...this.model})
}else{
that.$message.warning(res.message);
}
@ -122,7 +123,7 @@
}else{
return false;
}
})
},
handleCancel () {