mirror of
https://gitee.com/LongbowEnterprise/BootstrapBlazor.git
synced 2024-11-29 18:49:08 +08:00
parent
15493e04c6
commit
edd4ad25ce
@ -47,12 +47,12 @@ WTM 快速开发框架,设计的核心理念就是 "尽一切可能提高开
|
||||
|
||||
1. 安装 .net core sdk 最新版 [官方网址](http://www.microsoft.com/net/download)
|
||||
2. 安装 Visual Studio 2022 最新版 [官方网址](https://visualstudio.microsoft.com/vs/getting-started/)
|
||||
3. 获取本项目代码 [BootstrapBlazor](https://gitee.com/Longbow/BootstrapBlazor)
|
||||
3. 获取本项目代码 [BootstrapBlazor](https://gitee.com/LongbowEnterprise/BootstrapBlazor)
|
||||
|
||||
### 克隆代码
|
||||
|
||||
```shell
|
||||
git clone https://gitee.com/Longbow/BootstrapBlazor.git
|
||||
git clone https://gitee.com/LongbowEnterprise/BootstrapBlazor.git
|
||||
cd BootstrapBlazor/src/BootstrapBlazor.Server
|
||||
dotnet run
|
||||
```
|
||||
@ -80,7 +80,7 @@ dotnet run
|
||||
### 项目模板
|
||||
|
||||
- [微软市场](https://marketplace.visualstudio.com/items?itemName=Longbow.BootstrapBlazorUITemplate)
|
||||
- [码云镜像](https://gitee.com/Longbow/BootstrapBlazorVsix/raw/master/dist/BootstrapBlazor.UITemplate.vsix)
|
||||
- [码云镜像](https://gitee.com/LongbowEnterprise/BootstrapBlazorVsix/raw/master/dist/BootstrapBlazor.UITemplate.vsix)
|
||||
|
||||
### 更多文档
|
||||
|
||||
@ -179,7 +179,7 @@ Blazor 应用基于组件。 Blazor 中的组件是指 UI 元素,例如页面
|
||||
![登录可查看](https://gitee.com/Longbow/Pictures/raw/master/BootstrapBlazor/Doughnut.png "Doughnut.png")
|
||||
|
||||
## 开源协议
|
||||
[![Gitee license](https://img.shields.io/github/license/argozhang/bootstrapblazor.svg?logo=git&logoColor=red)](https://gitee.com/Longbow/BootstrapBlazor/blob/master/LICENSE)
|
||||
[![Gitee license](https://img.shields.io/github/license/argozhang/bootstrapblazor.svg?logo=git&logoColor=red)](https://gitee.com/LongbowEnterprise/BootstrapBlazor/blob/master/LICENSE)
|
||||
|
||||
## 特别鸣谢
|
||||
|
||||
|
@ -34,27 +34,27 @@ public class WebsiteOptions
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string BootstrapAdminLink { get; set; } = "https://gitee.com/Longbow/BootstrapAdmin";
|
||||
public string BootstrapAdminLink { get; set; } = "https://gitee.com/LongbowEnterprise/BootstrapAdmin";
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string BootstrapBlazorLink { get; set; } = "https://gitee.com/Longbow/BootstrapBlazor";
|
||||
public string BootstrapBlazorLink { get; set; } = "https://gitee.com/LongbowEnterprise/BootstrapBlazor";
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string VideoLibUrl { get; set; } = "https://gitee.com/Longbow/BootstrapBlazor/wikis/%E8%A7%86%E9%A2%91%E8%B5%84%E6%BA%90?sort_id=3300624";
|
||||
public string VideoLibUrl { get; set; } = "https://gitee.com/LongbowEnterprise/BootstrapBlazor/wikis/%E8%A7%86%E9%A2%91%E8%B5%84%E6%BA%90?sort_id=3300624";
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string RepositoryUrl { get; set; } = "https://gitee.com/Longbow/BootstrapBlazor/raw/main/src/BootstrapBlazor.Shared/Samples/";
|
||||
public string RepositoryUrl { get; set; } = "https://gitee.com/LongbowEnterprise/BootstrapBlazor/raw/main/src/BootstrapBlazor.Shared/Samples/";
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string WikiUrl { get; set; } = "https://gitee.com/Longbow/BootstrapBlazor/wikis/%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97?sort_id=4062034";
|
||||
public string WikiUrl { get; set; } = "https://gitee.com/LongbowEnterprise/BootstrapBlazor/wikis/%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97?sort_id=4062034";
|
||||
|
||||
/// <summary>
|
||||
/// 获得 QQ 1 群链接地址
|
||||
|
@ -194,7 +194,7 @@ public partial class Modal : IAsyncDisposable
|
||||
if (disposing)
|
||||
{
|
||||
// 切换线程防止 JS 清理 DOM 后 C# 代码报错
|
||||
// https://gitee.com/Longbow/BootstrapBlazor/issues/I4PKOC
|
||||
// https://gitee.com/LongbowEnterprise/BootstrapBlazor/issues/I4PKOC
|
||||
await Task.Delay(300);
|
||||
|
||||
// JS 清理 DOM
|
||||
|
@ -194,7 +194,7 @@ internal class InternalTableColumn : ITableColumn
|
||||
var attr = prop.GetCustomAttribute<AutoGenerateColumnAttribute>(true);
|
||||
|
||||
// Issue: 增加定义设置标签 AutoGenerateClassAttribute
|
||||
// https://gitee.com/Longbow/BootstrapBlazor/issues/I381ED
|
||||
// https://gitee.com/LongbowEnterprise/BootstrapBlazor/issues/I381ED
|
||||
var displayName = attr?.Text ?? Utility.GetDisplayName(type, prop.Name);
|
||||
if (attr == null)
|
||||
{
|
||||
|
@ -108,7 +108,7 @@ public partial class Table<TItem>
|
||||
AddInCell = false;
|
||||
EditInCell = false;
|
||||
|
||||
// https://gitee.com/Longbow/BootstrapBlazor/issues/I1UYQG
|
||||
// https://gitee.com/LongbowEnterprise/BootstrapBlazor/issues/I1UYQG
|
||||
StateHasChanged();
|
||||
}
|
||||
}
|
||||
|
@ -619,7 +619,7 @@ public partial class Table<TItem>
|
||||
// 删除成功 重新查询
|
||||
// 由于数据删除导致页码会改变,尤其是最后一页
|
||||
// 重新计算页码
|
||||
// https://gitee.com/Longbow/BootstrapBlazor/issues/I1UJSL
|
||||
// https://gitee.com/LongbowEnterprise/BootstrapBlazor/issues/I1UJSL
|
||||
PageIndex = Math.Max(1, Math.Min(PageIndex, int.Parse(Math.Ceiling((TotalCount - SelectedRows.Count) * 1d / PageItems).ToString())));
|
||||
var items = PageItemsSource.Where(item => item >= (TotalCount - SelectedRows.Count));
|
||||
PageItems = Math.Min(PageItems, items.Any() ? items.Min() : PageItems);
|
||||
|
@ -15,7 +15,7 @@
|
||||
<IsPackable>true</IsPackable>
|
||||
<PackageIcon>logo.png</PackageIcon>
|
||||
<PackageReadmeFile>readme.md</PackageReadmeFile>
|
||||
<PackageReleaseNotes>https://gitee.com/Longbow/BootstrapBlazor/wikis</PackageReleaseNotes>
|
||||
<PackageReleaseNotes>https://gitee.com/LongbowEnterprise/BootstrapBlazor/wikis</PackageReleaseNotes>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
@ -240,7 +240,7 @@ public static class LambdaExtensions
|
||||
|
||||
private static Expression Contains(this Expression left, Expression right)
|
||||
{
|
||||
// https://gitee.com/Longbow/BootstrapBlazor/issues/I2DIR4
|
||||
// https://gitee.com/LongbowEnterprise/BootstrapBlazor/issues/I2DIR4
|
||||
// 兼容 EFCore 与普通逻辑 EFCore 内自动处理空问题
|
||||
var method = typeof(string).GetMethod("Contains", new Type[1] { typeof(string) })!;
|
||||
return Expression.AndAlso(Expression.NotEqual(left, Expression.Constant(null)), Expression.Call(left, method, right));
|
||||
|
Loading…
Reference in New Issue
Block a user