Skip to content

Commit 5655c5e

Browse files
committed
配置优化
1 parent 825663f commit 5655c5e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/assets/json/widget.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
"type": "h-picker",
113113
"name": "横向滑动单选",
114114
"value": "",
115-
"options": ["20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30"],
115+
"options": ["20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40"],
116116
"label": {
117117
"labelTitle": "年龄",
118118
"labelPosition": "left",
@@ -162,8 +162,8 @@
162162
}, {
163163
"url": "https://jd.com",
164164
"image": "static/img/theme3.jpg"
165-
}],
166-
"interval":3000,
165+
}],
166+
"interval": 3000,
167167
"style": {
168168
"margin": "0px 0px 0px 0px",
169169
"height": 250

src/views/home.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ export default {
126126
},
127127
mounted() {
128128
this.$nextTick(function () {
129-
//为了防止火狐浏览器拖拽的时候以新标签打开,此代码真实有效
129+
//防止火狐浏览器拖拽的时候以新标签打开
130130
document.body.ondrop = function (event) {
131131
event.preventDefault();
132132
event.stopPropagation();

0 commit comments

Comments
 (0)