Skip to content

Commit 50b8e47

Browse files
committed
fix: gird 组件修复在vue页面中宫格高度不一致的Bug
1 parent 39d00d8 commit 50b8e47

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

.npmignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ dist/
33
node_modules/
44
public/
55
src/
6-
temp/build_ext/
6+
temp/
77
babel.config.js
88
postcss.config.js
99
vue.config.js

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@dcloudio/uni-ui",
3-
"version": "1.0.8",
3+
"version": "1.0.9",
44
"author": "",
55
"license": "Apache-2.0",
66
"scripts": {

src/components/uni-grid-item/uni-grid-item.vue

+2-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@
5454
<style lang="scss" scoped>
5555
.uni-grid-item {
5656
/* #ifndef APP-NVUE */
57-
height: 100%;
57+
height: 100%;
58+
display: flex;
5859
/* #endif */
5960
}
6061

src/components/uni-section/uni-section.vue

+2-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@
4646
}
4747
</script>
4848
<style lang="scss" scoped>
49-
.uni-section {
49+
.uni-section {
50+
position: relative;
5051
/* #ifndef APP-NVUE */
5152
display: flex;
5253
/* #endif */

0 commit comments

Comments
 (0)