@@ -219,7 +219,7 @@
});
</script>
-<div bind:this={loadingDom} class="w-full h-full">
+<div bind:this={loadingDom}>
<!--one-->
{#if type === '1_0'}
<Loading1_0 {theme} {inverse} size={sizeFunc(height, width)} {customColor} bind:speed />
@@ -122,7 +122,7 @@
// 总页数
// totalPage
- const totalPage = Math.ceil(total / pageSize);
+ $: totalPage = Math.ceil(total / pageSize);
// 当前页码大于等于 maxShowPage-3 时,不显示前面的省略号
// current >= maxShowPage-3, not show pre ellipsis
@@ -1,6 +1,6 @@
{
"name": "stdf",
- "version": "0.4.6",
+ "version": "0.4.7",
"description": "Mobile web component library based on Svelte and Tailwind",
"main": "./components/index.js",
"svelte": "./components/index.js",