@mpxjs/core 2.7.1-beta.1 → 2.7.11
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/@types/global.d.ts
CHANGED
package/@types/index.d.ts
CHANGED
|
@@ -7,7 +7,13 @@
|
|
|
7
7
|
/// <reference path="./mpx-store.d.ts" />
|
|
8
8
|
/// <reference path="./global.d.ts" />
|
|
9
9
|
/// <reference path="./node.d.ts" />
|
|
10
|
+
import VueI18n from 'vue-i18n'
|
|
10
11
|
|
|
12
|
+
declare module 'vue-i18n' {
|
|
13
|
+
export default interface VueI18n {
|
|
14
|
+
mergeMessages(messages: {[index: string]:VueI18n.LocaleMessageObject}): void;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
11
17
|
// declare Store types
|
|
12
18
|
type StoreOpt<S, G, M, A, D extends MpxStore.Deps> = MpxStore.StoreOpt<S, G, M, A, D>
|
|
13
19
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mpxjs/core",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.11",
|
|
4
4
|
"description": "mpx runtime core",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"miniprogram",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"url": "https://github.com/didi/mpx/issues"
|
|
42
42
|
},
|
|
43
43
|
"sideEffects": false,
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "484feb97fc5741ce3984fd235833fe0ab83593b9"
|
|
45
45
|
}
|
|
@@ -91,7 +91,7 @@ export default function getRefsMixin () {
|
|
|
91
91
|
}
|
|
92
92
|
const component = e.detail.component
|
|
93
93
|
const destroyed = e.detail.destroyed
|
|
94
|
-
const className = component.props.
|
|
94
|
+
const className = component.props.className || component.className
|
|
95
95
|
const identifiers = className ? className.trim().split(/\s+/).map(item => {
|
|
96
96
|
return `.${item}`
|
|
97
97
|
}) : []
|