@fmdeui/fmui 1.0.41 → 1.0.42
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/es/packages/components/fm-layout/src/logo/index.vue2.mjs +4 -2
- package/es/packages/components/fm-layout/src/navBars/topBar/user.vue2.mjs +2 -1
- package/index.js +4 -4
- package/index.min.js +6 -6
- package/index.min.mjs +6 -6
- package/index.mjs +4 -4
- package/lib/packages/components/fm-layout/src/logo/index.vue2.js +4 -2
- package/lib/packages/components/fm-layout/src/navBars/topBar/user.vue2.js +2 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/package.json +1 -1
- /package/es/{index.css → component.css} +0 -0
- /package/lib/{index.css → version.css} +0 -0
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, unref, createCommentVNode, createElementVNode, toDisplayString } from 'vue';
|
|
2
2
|
import { storeToRefs } from 'pinia';
|
|
3
3
|
import '../../../../stores/index.mjs';
|
|
4
|
+
import '../../../../utils/index.mjs';
|
|
4
5
|
import { useThemeConfig } from '../../../../stores/themeConfig.mjs';
|
|
6
|
+
import { showFileUrl } from '../../../../utils/uploadfileurl.mjs';
|
|
5
7
|
|
|
6
8
|
const _hoisted_1 = ["src"];
|
|
7
9
|
const _hoisted_2 = ["src"];
|
|
@@ -30,7 +32,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
30
32
|
}, [
|
|
31
33
|
showLogo.value ? (openBlock(), createElementBlock("img", {
|
|
32
34
|
key: 0,
|
|
33
|
-
src: unref(themeConfig).logoUrl,
|
|
35
|
+
src: unref(showFileUrl)(unref(themeConfig).logoUrl),
|
|
34
36
|
class: "layout-logo-medium-img"
|
|
35
37
|
}, null, 8, _hoisted_1)) : createCommentVNode("v-if", true),
|
|
36
38
|
createElementVNode(
|
|
@@ -46,7 +48,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
46
48
|
onClick: onThemeConfigChange
|
|
47
49
|
}, [
|
|
48
50
|
createElementVNode("img", {
|
|
49
|
-
src: unref(themeConfig).logoUrl,
|
|
51
|
+
src: unref(showFileUrl)(unref(themeConfig).logoUrl),
|
|
50
52
|
class: "layout-logo-size-img"
|
|
51
53
|
}, null, 8, _hoisted_2)
|
|
52
54
|
]));
|
|
@@ -19,6 +19,7 @@ import { useFormEvents } from '../../../../../hooks/composables/useDialogEvents.
|
|
|
19
19
|
import { Local, Session } from '../../../../../utils/storage.mjs';
|
|
20
20
|
import { useBaseApi } from '../../../../../api/base/index.mjs';
|
|
21
21
|
import { signalR } from '../../../../../utils/signalR.mjs';
|
|
22
|
+
import { showFileUrl } from '../../../../../utils/uploadfileurl.mjs';
|
|
22
23
|
import { clearAccessTokens } from '../../../../../utils/request.mjs';
|
|
23
24
|
|
|
24
25
|
const _hoisted_1 = { class: "layout-navbars-breadcrumb-user-icon" };
|
|
@@ -642,7 +643,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
642
643
|
]),
|
|
643
644
|
default: withCtx(() => [
|
|
644
645
|
createElementVNode("img", {
|
|
645
|
-
src: unref(userInfos).avatar,
|
|
646
|
+
src: unref(showFileUrl)(unref(userInfos).avatar),
|
|
646
647
|
class: "layout-navbars-breadcrumb-user-link-photo mr5"
|
|
647
648
|
}, null, 8, _hoisted_11)
|
|
648
649
|
]),
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.42 */
|
|
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) :
|
|
@@ -26335,7 +26335,7 @@
|
|
|
26335
26335
|
}, [
|
|
26336
26336
|
showLogo.value ? (vue.openBlock(), vue.createElementBlock("img", {
|
|
26337
26337
|
key: 0,
|
|
26338
|
-
src: vue.unref(themeConfig).logoUrl,
|
|
26338
|
+
src: vue.unref(showFileUrl)(vue.unref(themeConfig).logoUrl),
|
|
26339
26339
|
class: "layout-logo-medium-img"
|
|
26340
26340
|
}, null, 8, _hoisted_1$d)) : vue.createCommentVNode("v-if", true),
|
|
26341
26341
|
vue.createElementVNode(
|
|
@@ -26351,7 +26351,7 @@
|
|
|
26351
26351
|
onClick: onThemeConfigChange
|
|
26352
26352
|
}, [
|
|
26353
26353
|
vue.createElementVNode("img", {
|
|
26354
|
-
src: vue.unref(themeConfig).logoUrl,
|
|
26354
|
+
src: vue.unref(showFileUrl)(vue.unref(themeConfig).logoUrl),
|
|
26355
26355
|
class: "layout-logo-size-img"
|
|
26356
26356
|
}, null, 8, _hoisted_2$8)
|
|
26357
26357
|
]));
|
|
@@ -28026,7 +28026,7 @@
|
|
|
28026
28026
|
]),
|
|
28027
28027
|
default: vue.withCtx(() => [
|
|
28028
28028
|
vue.createElementVNode("img", {
|
|
28029
|
-
src: vue.unref(userInfos).avatar,
|
|
28029
|
+
src: vue.unref(showFileUrl)(vue.unref(userInfos).avatar),
|
|
28030
28030
|
class: "layout-navbars-breadcrumb-user-link-photo mr5"
|
|
28031
28031
|
}, null, 8, _hoisted_11$1)
|
|
28032
28032
|
]),
|