@fmdeui/fmui 1.0.44 → 1.0.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.
@@ -155,7 +155,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
155
155
  });
156
156
  initI18nOrSize("globalI18n", "disabledI18n");
157
157
  refreshCurrentTabpage();
158
- await useBaseApi("sysCommon").post(lang, "setCulture");
158
+ await useBaseApi("sysCommon").post(null, "setCulture/?culture=" + lang);
159
159
  };
160
160
  const onChatClick = () => {
161
161
  router.push({
@@ -6,7 +6,10 @@ const getFileUrl = (row) => {
6
6
  }
7
7
  };
8
8
  const showFileUrl = (url) => {
9
- if (url == "logo.png") {
9
+ if (url == "" || url == null || url == void 0) {
10
+ return "";
11
+ }
12
+ if (url == "logo.png" || url.includes("base64,") > 0) {
10
13
  return url;
11
14
  }
12
15
  if (window.__env__.VITE_IMG_URL) {
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! fmdeui-fmui v1.0.44 */
1
+ /*! fmdeui-fmui v1.0.46 */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vxe-table'), require('@vxe-ui/plugin-render-element'), require('@vxe-ui/plugin-export-xlsx'), require('vxe-pc-ui'), require('exceljs'), require('@element-plus/icons-vue'), require('vue'), require('element-plus'), require('lodash-es'), require('js-cookie'), require('pinia'), require('@vueuse/core'), require('crypto-js'), require('xlsx-js-style'), require('vue-i18n'), require('vue-router'), require('sortablejs'), require('screenfull'), require('push.js'), require('mitt'), require('@microsoft/signalr'), require('axios')) :
4
4
  typeof define === 'function' && define.amd ? define(['exports', 'vxe-table', '@vxe-ui/plugin-render-element', '@vxe-ui/plugin-export-xlsx', 'vxe-pc-ui', 'exceljs', '@element-plus/icons-vue', 'vue', 'element-plus', 'lodash-es', 'js-cookie', 'pinia', '@vueuse/core', 'crypto-js', 'xlsx-js-style', 'vue-i18n', 'vue-router', 'sortablejs', 'screenfull', 'push.js', 'mitt', '@microsoft/signalr', 'axios'], factory) :
@@ -1252,7 +1252,10 @@
1252
1252
  }
1253
1253
  };
1254
1254
  const showFileUrl = (url) => {
1255
- if (url == "logo.png") {
1255
+ if (url == "" || url == null || url == void 0) {
1256
+ return "";
1257
+ }
1258
+ if (url == "logo.png" || url.includes("base64,") > 0) {
1256
1259
  return url;
1257
1260
  }
1258
1261
  if (window.__env__.VITE_IMG_URL) {
@@ -27538,7 +27541,7 @@
27538
27541
  });
27539
27542
  initI18nOrSize("globalI18n", "disabledI18n");
27540
27543
  refreshCurrentTabpage();
27541
- await useBaseApi("sysCommon").post(lang, "setCulture");
27544
+ await useBaseApi("sysCommon").post(null, "setCulture/?culture=" + lang);
27542
27545
  };
27543
27546
  const onChatClick = () => {
27544
27547
  router.push({