saas-tenant-approve-app 0.1.2 → 0.1.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/lib/tips.common.js +9 -5
- package/lib/tips.common.js.map +1 -1
- package/lib/tips.umd.js +9 -5
- package/lib/tips.umd.js.map +1 -1
- package/lib/tips.umd.min.js +1 -1
- package/lib/tips.umd.min.js.map +1 -1
- package/package.json +3 -2
- package/src/main.js +12 -9
package/lib/tips.common.js
CHANGED
|
@@ -8942,13 +8942,17 @@ var selectLine_component = normalizeComponent(
|
|
|
8942
8942
|
|
|
8943
8943
|
|
|
8944
8944
|
// 为组件提供 install 安装方法,供按需引入
|
|
8945
|
-
|
|
8946
|
-
|
|
8947
|
-
|
|
8948
|
-
|
|
8949
|
-
|
|
8945
|
+
const components = [approveLine, selectLine];
|
|
8946
|
+
const main_install = function (Vue, oprs = {}) {
|
|
8947
|
+
components.map(component => {
|
|
8948
|
+
Vue.component(component.name, component); //到时候项目使用组件名,就是这个component.name
|
|
8949
|
+
});
|
|
8950
8950
|
};
|
|
8951
|
+
if (typeof window !== 'undefined' && window.Vue) {
|
|
8952
|
+
main_install(window.Vue);
|
|
8953
|
+
}
|
|
8951
8954
|
/* harmony default export */ var main = ({
|
|
8955
|
+
install: main_install,
|
|
8952
8956
|
ApproveLine: approveLine,
|
|
8953
8957
|
SelectLine: selectLine
|
|
8954
8958
|
});
|