This commit is contained in:
maplemei 2021-06-30 13:56:07 +08:00
parent eb4e6fa66e
commit 479b26fa7f
7 changed files with 13 additions and 14 deletions

View File

@ -2,7 +2,7 @@
### 1.2.3 ### 1.2.3
*2021-05-28* *2021-06-30*
#### 新增 #### 新增

2
dist/static/2.js vendored

File diff suppressed because one or more lines are too long

2
dist/static/3.js vendored

File diff suppressed because one or more lines are too long

12
dist/static/docs.js vendored

File diff suppressed because one or more lines are too long

2
dist/xm-select.js vendored

File diff suppressed because one or more lines are too long

View File

@ -16,7 +16,7 @@
"element-ui": "^2.12.0", "element-ui": "^2.12.0",
"highlight.js": "^9.15.10", "highlight.js": "^9.15.10",
"preact": "^10.4.6", "preact": "^10.4.6",
"vue": "^2.6.11", "vue": "^2.6.14",
"vue-router": "^3.1.3" "vue-router": "^3.1.3"
}, },
"devDependencies": { "devDependencies": {
@ -38,7 +38,7 @@
"transliteration": "^2.1.7", "transliteration": "^2.1.7",
"url-loader": "^2.1.0", "url-loader": "^2.1.0",
"vue-loader": "^15.7.1", "vue-loader": "^15.7.1",
"vue-template-compiler": "^2.6.10", "vue-template-compiler": "^2.6.11",
"webpack": "^4.29.6", "webpack": "^4.29.6",
"webpack-cli": "^3.3.0", "webpack-cli": "^3.3.0",
"webpack-dev-server": "^3.2.1" "webpack-dev-server": "^3.2.1"

View File

@ -1,6 +1,6 @@
import '@/common/expand' import '@/common/expand'
import '@/style/index.less'
import '@/style/iconfont.less' import '@/style/iconfont.less'
import '@/style/index.less'
import { default as xmSelect, datas } from './index.js'; import { default as xmSelect, datas } from './index.js';
import {throttle} from '@/common/util' import {throttle} from '@/common/util'
@ -20,7 +20,6 @@ window.addEventListener('click', () => {
* 监听页面滚动事件 * 监听页面滚动事件
*/ */
window.addEventListener('scroll', throttle(() => { window.addEventListener('scroll', throttle(() => {
console.log(1123);
Object.keys(datas).forEach(key => { Object.keys(datas).forEach(key => {
let item = datas[key] let item = datas[key]
item && item.calcPosition && item.calcPosition() item && item.calcPosition && item.calcPosition()