Skip to content

Commit 90ef526

Browse files
二一7insummer
authored andcommitted
fix:wx.lin 调用时机修改 (#384)
1 parent 0e54b1f commit 90ef526

File tree

14 files changed

+15
-15
lines changed

14 files changed

+15
-15
lines changed

dist/action-sheet/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Component({
2727
this.initUIAdapter();
2828
},
2929

30-
lifetimes: {
30+
pageLifetimes: {
3131
show() {
3232
if (this.data.openApi) {
3333
this.initActionSheet();

dist/dialog/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Component({
7272
}
7373
},
7474

75-
lifetimes: {
75+
pageLifetimes: {
7676
show() {
7777
if (this.data.openApi) {
7878
this.initDialog();

dist/message/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Component({
2727
this.initMessage();
2828
},
2929

30-
lifetimes: {
30+
pageLifetimes: {
3131
show() {
3232
this.initMessage();
3333
},

dist/toast/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ Component({
9494
}
9595
},
9696

97-
lifetimes: {
97+
pageLifetimes: {
9898
show() {
9999
if (this.data.openApi) {
100100
this.initToast();

examples/dist/action-sheet/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Component({
2727
this.initUIAdapter();
2828
},
2929

30-
lifetimes: {
30+
pageLifetimes: {
3131
show() {
3232
if (this.data.openApi) {
3333
this.initActionSheet();

examples/dist/dialog/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Component({
7272
}
7373
},
7474

75-
lifetimes: {
75+
pageLifetimes: {
7676
show() {
7777
if (this.data.openApi) {
7878
this.initDialog();

examples/dist/message/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Component({
2727
this.initMessage();
2828
},
2929

30-
lifetimes: {
30+
pageLifetimes: {
3131
show() {
3232
this.initMessage();
3333
},

examples/dist/toast/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ Component({
9494
}
9595
},
9696

97-
lifetimes: {
97+
pageLifetimes: {
9898
show() {
9999
if (this.data.openApi) {
100100
this.initToast();

examples/pages/components/layout/pages/grid/index.wxml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
</content-card>
2222

2323
<content-card class="content" name="显示边框">
24-
<view class="view-container">
25-
<l-grid show-border="{{true}}">
24+
<view class="view-container" >
25+
<l-grid show-border="{{true}}" l-class="grid-container">
2626
<l-grid-item wx:for="{{grids1}}" wx:key="{{index}}" key="{{index}}" slot="{{index}}" l-grid-item="grid-item">
2727
<l-icon name="{{item.image}}" />
2828
<view class="text">{{item.text}}</view>

examples/pages/components/layout/pages/grid/index.wxss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222

2323
.grid-item {
2424
height: 200rpx;
25-
}
25+
}

0 commit comments

Comments
 (0)