diff --git a/projects/Version.cs b/projects/Version.cs index d63ba8e1..82e2b157 100644 --- a/projects/Version.cs +++ b/projects/Version.cs @@ -1,4 +1,4 @@ using System.Reflection; [assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyInformationalVersion("1.0.0.729d2")] \ No newline at end of file +[assembly: AssemblyInformationalVersion("1.0.0.729d3")] \ No newline at end of file diff --git a/projects/WebMVC/wwwroot/components/shared/edit/boolean.html b/projects/WebMVC/wwwroot/components/shared/edit/boolean.html index 492d5d5f..efeb2c2f 100644 --- a/projects/WebMVC/wwwroot/components/shared/edit/boolean.html +++ b/projects/WebMVC/wwwroot/components/shared/edit/boolean.html @@ -24,6 +24,11 @@ this.$emit('update:value', val); this.$emit('change', this.name); } + }, + mounted: function () { + if (this.mode !== 'query' && this.nullable && this.value === null) { + this.$emit('update:value', false); + } } }; \ No newline at end of file diff --git a/projects/WebMVC/wwwroot/components/shared/list.html b/projects/WebMVC/wwwroot/components/shared/list.html index 9233cd48..9c2140de 100644 --- a/projects/WebMVC/wwwroot/components/shared/list.html +++ b/projects/WebMVC/wwwroot/components/shared/list.html @@ -184,7 +184,7 @@ deleteAll: function () { var vm = this; var url = this.baseUrl + this.path + 'DeleteApi'; - var list = $(this.$refs.list).find('tbody input:checked'); + var list = $(this.$refs.list).find('tbody input:checked[name]'); if (!list.length) { Swal.fire('没有选中任何记录!'); } else {