bl-common-vue3 3.8.45 → 3.8.46

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bl-common-vue3",
3
- "version": "3.8.45",
3
+ "version": "3.8.46",
4
4
  "main": "index.js",
5
5
  "module": "index.js",
6
6
  "description": "bailing vue3 common components lib",
@@ -333,7 +333,7 @@ export default defineComponent({
333
333
  loadLanguageAsync(utils.getLang());
334
334
 
335
335
  window.addEventListener("setBLLang", (event) => {
336
- baseConfig.language = newVal;
336
+ baseConfig.language = event.newValue;
337
337
  refreshKey.value++;
338
338
  const newLang = event.newValue; // 获取新的语言值
339
339
  loadLanguageAsync(newLang);