t20-common-lib 0.2.3 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "t20-common-lib",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "T20",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
@@ -78,7 +78,7 @@ export default {
78
78
  this.$emit('click', item)
79
79
  }
80
80
  },
81
- beforeFn(name) {
81
+ beforeFn() {
82
82
  return !this.stop
83
83
  }
84
84
  }
package/src/index.js CHANGED
@@ -4,11 +4,14 @@ import repairEl from './utils/repairElementUI'
4
4
  // 导入组件
5
5
  import MyButton from '../packages/mybutton/index.js'
6
6
  import MainPage from '../packages/main-page/index.js'
7
+ import TabPane from '../packages/tab-pane/index.js'
8
+
7
9
 
8
10
  // 存储组件列表
9
11
  const components = [
10
12
  MyButton,
11
- MainPage
13
+ MainPage,
14
+ TabPane
12
15
  ]
13
16
 
14
17
  // 定义 install 方法,接收 Vue 作为参数