im-ui-mobile 0.0.74 → 0.0.75
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 +1 -1
- package/utils/emoji.js +2 -5
package/package.json
CHANGED
package/utils/emoji.js
CHANGED
|
@@ -8,11 +8,8 @@ class Emoji {
|
|
|
8
8
|
* @param {string} options.emojiUrl - 表情图片基础URL
|
|
9
9
|
*/
|
|
10
10
|
constructor(options = {}) {
|
|
11
|
-
const config = inject('im-config')
|
|
12
|
-
console.log('config', config)
|
|
13
|
-
|
|
14
11
|
// 表情图片基础URL
|
|
15
|
-
this.emojiUrl = options.emojiUrl || config
|
|
12
|
+
this.emojiUrl = options.emojiUrl || 'not config url';
|
|
16
13
|
|
|
17
14
|
// 表情文本列表
|
|
18
15
|
this.emoTextList = [
|
|
@@ -88,7 +85,7 @@ class Emoji {
|
|
|
88
85
|
if (idx === -1) {
|
|
89
86
|
return '';
|
|
90
87
|
}
|
|
91
|
-
|
|
88
|
+
console.log('textToPath('+emoText+'):', this.emojiUrl )
|
|
92
89
|
return this.emojiUrl + idx + ".gif";
|
|
93
90
|
}
|
|
94
91
|
|