saas-tenant-approve-app 0.1.2 → 0.1.3
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 +3 -2
- package/src/main.js +12 -9
- package/lib/demo.html +0 -1
- package/lib/tips.common.js +0 -8965
- package/lib/tips.common.js.map +0 -1
- package/lib/tips.css +0 -1
- package/lib/tips.umd.js +0 -8984
- package/lib/tips.umd.js.map +0 -1
- package/lib/tips.umd.min.js +0 -2
- package/lib/tips.umd.min.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "saas-tenant-approve-app",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.03",
|
|
4
|
+
"private": false,
|
|
4
5
|
"main": "lib/tips.umd.js",
|
|
5
6
|
"scripts": {
|
|
6
7
|
"build-lib": "vue-cli-service build --target lib --name tips --dest lib --entry ./src/main.js "
|
|
@@ -41,4 +42,4 @@
|
|
|
41
42
|
"not dead",
|
|
42
43
|
"not ie 11"
|
|
43
44
|
]
|
|
44
|
-
}
|
|
45
|
+
}
|
package/src/main.js
CHANGED
|
@@ -4,13 +4,16 @@ import './assets/vant.css'
|
|
|
4
4
|
|
|
5
5
|
// import submitLine from './components/submitLine/index';
|
|
6
6
|
// export {submitLine,ApproveLine}
|
|
7
|
-
import ApproveLine from '
|
|
8
|
-
import SelectLine from '
|
|
7
|
+
import ApproveLine from './components/approveLine.vue';
|
|
8
|
+
import SelectLine from './components/selectLine.vue';
|
|
9
9
|
// 为组件提供 install 安装方法,供按需引入
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
10
|
+
const components = [ApproveLine, SelectLine];
|
|
11
|
+
const install = function (Vue, oprs = {}) {
|
|
12
|
+
components.map(component => {
|
|
13
|
+
Vue.component(component.name, component); //到时候项目使用组件名,就是这个component.name
|
|
14
|
+
})
|
|
15
|
+
}
|
|
16
|
+
if (typeof window !== 'undefined' && window.Vue) {
|
|
17
|
+
install(window.Vue);
|
|
18
|
+
}
|
|
19
|
+
export default { install, ApproveLine, SelectLine };
|
package/lib/demo.html
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<!doctype html><meta charset="utf-8"><title>tips demo</title><script src="./tips.umd.js"></script><link rel="stylesheet" href="./tips.css"><script>console.log(tips)</script>
|