ui-process-h5 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
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import { isVue3 } from "vue-demi";
|
|
7
7
|
const dire2 = {
|
|
8
|
-
bind(el, binding) {
|
|
8
|
+
bind(el:any, binding:any) {
|
|
9
9
|
el.addEventListener("click", () => {
|
|
10
10
|
console.log("=====>dire2", binding);
|
|
11
11
|
});
|
|
@@ -13,7 +13,7 @@ const dire2 = {
|
|
|
13
13
|
};
|
|
14
14
|
|
|
15
15
|
const dire3 = {
|
|
16
|
-
beforeMount(el, binding) {
|
|
16
|
+
beforeMount(el:any, binding:any) {
|
|
17
17
|
el.addEventListener("click", () => {
|
|
18
18
|
console.log("=====>dire3", binding);
|
|
19
19
|
});
|
package/src/plugin/index.ts
CHANGED
|
@@ -3,7 +3,7 @@ import dire from "./directive/index";
|
|
|
3
3
|
import checkPlugin from "./commonfs/index";
|
|
4
4
|
|
|
5
5
|
const ins2 = {
|
|
6
|
-
install(Vue) {
|
|
6
|
+
install(Vue:any) {
|
|
7
7
|
Vue.directive("process", dire);
|
|
8
8
|
Vue.prototype.$process = (params = {}) => {
|
|
9
9
|
checkPlugin(params);
|
|
@@ -12,7 +12,7 @@ const ins2 = {
|
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
const ins3 = {
|
|
15
|
-
install(app) {
|
|
15
|
+
install(app:any) {
|
|
16
16
|
app.directive("process", dire);
|
|
17
17
|
app.config.globalProperties.$process = (params = {}) => {
|
|
18
18
|
checkPlugin(params);
|