diff --git a/src/components/modal/modal.vue b/src/components/modal/modal.vue
index baf0f53..82265d2 100644
--- a/src/components/modal/modal.vue
+++ b/src/components/modal/modal.vue
@@ -77,7 +77,7 @@
type: Boolean,
default: false
},
- scrolling: {
+ scrollable: {
type: Boolean,
default: false
}
@@ -208,7 +208,7 @@
} else {
if (this.timer) clearTimeout(this.timer);
this.wrapShow = true;
- if (!this.scrolling) {
+ if (!this.scrollable) {
this.addScrollEffect();
}
}
@@ -218,7 +218,7 @@
this.buttonLoading = false;
}
},
- scrolling (val) {
+ scrollable (val) {
if (!val) {
this.addScrollEffect();
} else {
diff --git a/test/routers/more.vue b/test/routers/more.vue
index db17c44..9a702f2 100644
--- a/test/routers/more.vue
+++ b/test/routers/more.vue
@@ -5,18 +5,18 @@
显示对话框
- Toggle Scrolling
- Scrolling:{{scrolling}}
+ Toggle scrollable
+ scrollable:{{scrollable}}
对话框内容
对话框内容
对话框内容
- Toggle Scrolling
+ Toggle scrollable