inl-ui 0.1.93 → 0.1.95
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/dist/components/index.cjs +3 -1
- package/dist/components/index.js +3 -1
- package/dist/index.cjs +4 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -2
- package/package.json +1 -1
|
@@ -549,7 +549,7 @@ function useMicroApp(appList) {
|
|
|
549
549
|
const handleRouteChange = core.useThrottleFn(async () => {
|
|
550
550
|
const microAppName = activeAppName.value;
|
|
551
551
|
let microAppDefine = appList.find(item => item.name === microAppName);
|
|
552
|
-
if (!microAppDefine && !
|
|
552
|
+
if (!microAppDefine && !microAppName.startsWith("mtip-")) return;
|
|
553
553
|
const domId = `microApp_${microAppName}`;
|
|
554
554
|
if (!appContainerList.value.some(item => item.id === domId)) {
|
|
555
555
|
appContainerList.value.push({
|
|
@@ -6855,6 +6855,7 @@ const TabList = vue.defineComponent({
|
|
|
6855
6855
|
});
|
|
6856
6856
|
const handleSelectTab = key => {
|
|
6857
6857
|
const tab = tabList.value.find(item => getTabUniqueKey(item) === key);
|
|
6858
|
+
console.log(tab, 111111111111);
|
|
6858
6859
|
if (tab) {
|
|
6859
6860
|
emit("tabSelect", tab);
|
|
6860
6861
|
}
|
|
@@ -7164,6 +7165,7 @@ const PageContent = vue.defineComponent({
|
|
|
7164
7165
|
handleMenuChange(tab);
|
|
7165
7166
|
} else {
|
|
7166
7167
|
const resolveRes = router.resolve(tab.url);
|
|
7168
|
+
console.log(resolveRes, 2222222222);
|
|
7167
7169
|
router.push({
|
|
7168
7170
|
path: resolveRes.path,
|
|
7169
7171
|
query: Object.assign(resolveRes.query, tab.params)
|
package/dist/components/index.js
CHANGED
|
@@ -521,7 +521,7 @@ function useMicroApp(appList) {
|
|
|
521
521
|
const handleRouteChange = useThrottleFn(async () => {
|
|
522
522
|
const microAppName = activeAppName.value;
|
|
523
523
|
let microAppDefine = appList.find(item => item.name === microAppName);
|
|
524
|
-
if (!microAppDefine && !
|
|
524
|
+
if (!microAppDefine && !microAppName.startsWith("mtip-")) return;
|
|
525
525
|
const domId = `microApp_${microAppName}`;
|
|
526
526
|
if (!appContainerList.value.some(item => item.id === domId)) {
|
|
527
527
|
appContainerList.value.push({
|
|
@@ -6827,6 +6827,7 @@ const TabList = defineComponent({
|
|
|
6827
6827
|
});
|
|
6828
6828
|
const handleSelectTab = key => {
|
|
6829
6829
|
const tab = tabList.value.find(item => getTabUniqueKey(item) === key);
|
|
6830
|
+
console.log(tab, 111111111111);
|
|
6830
6831
|
if (tab) {
|
|
6831
6832
|
emit("tabSelect", tab);
|
|
6832
6833
|
}
|
|
@@ -7136,6 +7137,7 @@ const PageContent = defineComponent({
|
|
|
7136
7137
|
handleMenuChange(tab);
|
|
7137
7138
|
} else {
|
|
7138
7139
|
const resolveRes = router.resolve(tab.url);
|
|
7140
|
+
console.log(resolveRes, 2222222222);
|
|
7139
7141
|
router.push({
|
|
7140
7142
|
path: resolveRes.path,
|
|
7141
7143
|
query: Object.assign(resolveRes.query, tab.params)
|
package/dist/index.cjs
CHANGED
|
@@ -43,7 +43,7 @@ var axios__default = /*#__PURE__*/_interopDefaultLegacy(axios$2);
|
|
|
43
43
|
var ___default = /*#__PURE__*/_interopDefaultLegacy(_);
|
|
44
44
|
var dayjs__default = /*#__PURE__*/_interopDefaultLegacy(dayjs);
|
|
45
45
|
|
|
46
|
-
var version = "0.1.
|
|
46
|
+
var version = "0.1.94";
|
|
47
47
|
|
|
48
48
|
const setTheme = theme => {
|
|
49
49
|
if (theme === "dark") {
|
|
@@ -7659,7 +7659,7 @@ function useMicroApp(appList) {
|
|
|
7659
7659
|
const handleRouteChange = core.useThrottleFn(async () => {
|
|
7660
7660
|
const microAppName = activeAppName.value;
|
|
7661
7661
|
let microAppDefine = appList.find(item => item.name === microAppName);
|
|
7662
|
-
if (!microAppDefine && !
|
|
7662
|
+
if (!microAppDefine && !microAppName.startsWith("mtip-")) return;
|
|
7663
7663
|
const domId = `microApp_${microAppName}`;
|
|
7664
7664
|
if (!appContainerList.value.some(item => item.id === domId)) {
|
|
7665
7665
|
appContainerList.value.push({
|
|
@@ -8010,6 +8010,7 @@ const TabList = vue.defineComponent({
|
|
|
8010
8010
|
});
|
|
8011
8011
|
const handleSelectTab = key => {
|
|
8012
8012
|
const tab = tabList.value.find(item => getTabUniqueKey(item) === key);
|
|
8013
|
+
console.log(tab, 111111111111);
|
|
8013
8014
|
if (tab) {
|
|
8014
8015
|
emit("tabSelect", tab);
|
|
8015
8016
|
}
|
|
@@ -8319,6 +8320,7 @@ const PageContent = vue.defineComponent({
|
|
|
8319
8320
|
handleMenuChange(tab);
|
|
8320
8321
|
} else {
|
|
8321
8322
|
const resolveRes = router.resolve(tab.url);
|
|
8323
|
+
console.log(resolveRes, 2222222222);
|
|
8322
8324
|
router.push({
|
|
8323
8325
|
path: resolveRes.path,
|
|
8324
8326
|
query: Object.assign(resolveRes.query, tab.params)
|
package/dist/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { Key } from 'ant-design-vue/lib/table/interface';
|
|
|
11
11
|
import * as vue_jsx_runtime from 'vue/jsx-runtime';
|
|
12
12
|
import * as _ant_design_icons_vue_lib_components_IconFont from '@ant-design/icons-vue/lib/components/IconFont';
|
|
13
13
|
|
|
14
|
-
var version = "0.1.
|
|
14
|
+
var version = "0.1.94";
|
|
15
15
|
|
|
16
16
|
declare const _default$p: {
|
|
17
17
|
set(theme: string): void;
|
package/dist/index.js
CHANGED
|
@@ -13,7 +13,7 @@ import { XPopup, CommentBlock, setAxiosOption } from '@sszj-temp/mobile';
|
|
|
13
13
|
import { marked } from 'marked';
|
|
14
14
|
import '@sszj-temp/mobile/style.css';
|
|
15
15
|
|
|
16
|
-
var version = "0.1.
|
|
16
|
+
var version = "0.1.94";
|
|
17
17
|
|
|
18
18
|
const setTheme = theme => {
|
|
19
19
|
if (theme === "dark") {
|
|
@@ -7629,7 +7629,7 @@ function useMicroApp(appList) {
|
|
|
7629
7629
|
const handleRouteChange = useThrottleFn(async () => {
|
|
7630
7630
|
const microAppName = activeAppName.value;
|
|
7631
7631
|
let microAppDefine = appList.find(item => item.name === microAppName);
|
|
7632
|
-
if (!microAppDefine && !
|
|
7632
|
+
if (!microAppDefine && !microAppName.startsWith("mtip-")) return;
|
|
7633
7633
|
const domId = `microApp_${microAppName}`;
|
|
7634
7634
|
if (!appContainerList.value.some(item => item.id === domId)) {
|
|
7635
7635
|
appContainerList.value.push({
|
|
@@ -7980,6 +7980,7 @@ const TabList = defineComponent({
|
|
|
7980
7980
|
});
|
|
7981
7981
|
const handleSelectTab = key => {
|
|
7982
7982
|
const tab = tabList.value.find(item => getTabUniqueKey(item) === key);
|
|
7983
|
+
console.log(tab, 111111111111);
|
|
7983
7984
|
if (tab) {
|
|
7984
7985
|
emit("tabSelect", tab);
|
|
7985
7986
|
}
|
|
@@ -8289,6 +8290,7 @@ const PageContent = defineComponent({
|
|
|
8289
8290
|
handleMenuChange(tab);
|
|
8290
8291
|
} else {
|
|
8291
8292
|
const resolveRes = router.resolve(tab.url);
|
|
8293
|
+
console.log(resolveRes, 2222222222);
|
|
8292
8294
|
router.push({
|
|
8293
8295
|
path: resolveRes.path,
|
|
8294
8296
|
query: Object.assign(resolveRes.query, tab.params)
|