✨(component): 更新下载量
This commit is contained in:
		
							parent
							
								
									e4e6bd0f84
								
							
						
					
					
						commit
						1f6f25bdfb
					
				@ -63,7 +63,10 @@ const totalPage = computed(() => {
 | 
			
		||||
    maxPage.value <= props.pages
 | 
			
		||||
      ? 1
 | 
			
		||||
      : currentPage.value > pages
 | 
			
		||||
      ? maxPage.value - currentPage.value + 1 < pages ?  currentPage.value - (pages + (pages - (maxPage.value - currentPage.value + 1))) : currentPage.value - pages
 | 
			
		||||
      ? maxPage.value - currentPage.value + 1 < pages
 | 
			
		||||
        ? currentPage.value -
 | 
			
		||||
          (pages + (pages - (maxPage.value - currentPage.value + 1)))
 | 
			
		||||
        : currentPage.value - pages
 | 
			
		||||
      : 1;
 | 
			
		||||
 | 
			
		||||
  for (let i = start; ; i++) {
 | 
			
		||||
 | 
			
		||||
@ -32,11 +32,11 @@
 | 
			
		||||
          <li>[修复] date-picker 组件 type 属性为 date 值, range 属性为 true 时, 结束月份出现 13 月的问题。</li>
 | 
			
		||||
          <li>[修复] space 组件 size 属性使用内置 string ['md','sm'] 不生效的问题。</li>
 | 
			
		||||
          <li>[修复] table 组件 datasource 为空, 表头超出宽度无法滚动的问题。</li>
 | 
			
		||||
          <li>[修复] page 组件 pages 属性起始页计算逻辑, 在接近尾页时 pages 数量不对应。</li>
 | 
			
		||||
          <li>[删除] select 组件 show-empty 属性, 由用户自定义 select-option 代替。</li>
 | 
			
		||||
          <li>[删除] select 组件 empty-message 属性, 由用户自定义 select-option 代替。</li>
 | 
			
		||||
          <li>[删除] select 组件 placeholder, searchPlaceholder 属性默认值, 由使用者提供。</li>
 | 
			
		||||
          <li>[其他] date-picker, empty, page 组件支持 i18n 国际化。</li>
 | 
			
		||||
          <li>[升级] vue-i18n-next 9.2.2 版本。</li>
 | 
			
		||||
        </ul> 
 | 
			
		||||
      </li>
 | 
			
		||||
    </ul>
 | 
			
		||||
 | 
			
		||||
@ -32,7 +32,7 @@
 | 
			
		||||
          >
 | 
			
		||||
          <span
 | 
			
		||||
            >{{ t("home.download") }}:<em class="site-showdowns"
 | 
			
		||||
              >32,646</em
 | 
			
		||||
              >35,223</em
 | 
			
		||||
            ></span
 | 
			
		||||
          >
 | 
			
		||||
        </div>
 | 
			
		||||
@ -43,7 +43,7 @@
 | 
			
		||||
            rel="nofollow"
 | 
			
		||||
            class="site-star"
 | 
			
		||||
          >
 | 
			
		||||
            <i class="layui-icon"></i> Star <cite id="getStars">1616</cite>
 | 
			
		||||
            <i class="layui-icon"></i> Star <cite id="getStars">1633</cite>
 | 
			
		||||
          </a>
 | 
			
		||||
          <a
 | 
			
		||||
            href="https://gitee.com/layui-vue"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user