inl-ui 0.1.111 → 0.1.113

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.
@@ -8088,7 +8088,7 @@ const Login = vue.defineComponent({
8088
8088
  default: "\u7CFB\u7EDF\u767B\u5F55"
8089
8089
  },
8090
8090
  bg: {
8091
- default: "",
8091
+ default: "/micro-assets/platform-web/login-bg.png",
8092
8092
  type: String
8093
8093
  },
8094
8094
  loginFn: Function
@@ -8729,7 +8729,7 @@ const getDetailContainer = () => vue.defineComponent({
8729
8729
  }
8730
8730
  };
8731
8731
  const addTab = ___default["default"].debounce(newRoute => {
8732
- dataId.value = newRoute.params.id;
8732
+ dataId.value = newRoute.params.id || newRoute.query.id;
8733
8733
  const {
8734
8734
  name
8735
8735
  } = route.query;
@@ -8737,7 +8737,7 @@ const getDetailContainer = () => vue.defineComponent({
8737
8737
  name,
8738
8738
  url: route.fullPath,
8739
8739
  key: props.name,
8740
- uniqueKey: newRoute.params.id,
8740
+ uniqueKey: dataId.value,
8741
8741
  icon: props.icon,
8742
8742
  isExtraTab: true,
8743
8743
  params: ___default["default"].omit(route.query, "name")
@@ -8758,7 +8758,7 @@ const getDetailContainer = () => vue.defineComponent({
8758
8758
  detailList.value.push({
8759
8759
  ...tab,
8760
8760
  refreshKey: Date.now(),
8761
- id: newRoute.params.id
8761
+ id: dataId.value
8762
8762
  });
8763
8763
  console.log("detailList.value", detailList.value);
8764
8764
  setTimeout(() => {
@@ -8060,7 +8060,7 @@ const Login = defineComponent({
8060
8060
  default: "\u7CFB\u7EDF\u767B\u5F55"
8061
8061
  },
8062
8062
  bg: {
8063
- default: "",
8063
+ default: "/micro-assets/platform-web/login-bg.png",
8064
8064
  type: String
8065
8065
  },
8066
8066
  loginFn: Function
@@ -8701,7 +8701,7 @@ const getDetailContainer = () => defineComponent({
8701
8701
  }
8702
8702
  };
8703
8703
  const addTab = _.debounce(newRoute => {
8704
- dataId.value = newRoute.params.id;
8704
+ dataId.value = newRoute.params.id || newRoute.query.id;
8705
8705
  const {
8706
8706
  name
8707
8707
  } = route.query;
@@ -8709,7 +8709,7 @@ const getDetailContainer = () => defineComponent({
8709
8709
  name,
8710
8710
  url: route.fullPath,
8711
8711
  key: props.name,
8712
- uniqueKey: newRoute.params.id,
8712
+ uniqueKey: dataId.value,
8713
8713
  icon: props.icon,
8714
8714
  isExtraTab: true,
8715
8715
  params: _.omit(route.query, "name")
@@ -8730,7 +8730,7 @@ const getDetailContainer = () => defineComponent({
8730
8730
  detailList.value.push({
8731
8731
  ...tab,
8732
8732
  refreshKey: Date.now(),
8733
- id: newRoute.params.id
8733
+ id: dataId.value
8734
8734
  });
8735
8735
  console.log("detailList.value", detailList.value);
8736
8736
  setTimeout(() => {
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.109";
46
+ var version = "0.1.112";
47
47
 
48
48
  const setTheme = theme => {
49
49
  if (theme === "dark") {
@@ -9074,7 +9074,7 @@ const Login = vue.defineComponent({
9074
9074
  default: "\u7CFB\u7EDF\u767B\u5F55"
9075
9075
  },
9076
9076
  bg: {
9077
- default: "",
9077
+ default: "/micro-assets/platform-web/login-bg.png",
9078
9078
  type: String
9079
9079
  },
9080
9080
  loginFn: Function
@@ -9715,7 +9715,7 @@ const getDetailContainer = () => vue.defineComponent({
9715
9715
  }
9716
9716
  };
9717
9717
  const addTab = ___default["default"].debounce(newRoute => {
9718
- dataId.value = newRoute.params.id;
9718
+ dataId.value = newRoute.params.id || newRoute.query.id;
9719
9719
  const {
9720
9720
  name
9721
9721
  } = route.query;
@@ -9723,7 +9723,7 @@ const getDetailContainer = () => vue.defineComponent({
9723
9723
  name,
9724
9724
  url: route.fullPath,
9725
9725
  key: props.name,
9726
- uniqueKey: newRoute.params.id,
9726
+ uniqueKey: dataId.value,
9727
9727
  icon: props.icon,
9728
9728
  isExtraTab: true,
9729
9729
  params: ___default["default"].omit(route.query, "name")
@@ -9744,7 +9744,7 @@ const getDetailContainer = () => vue.defineComponent({
9744
9744
  detailList.value.push({
9745
9745
  ...tab,
9746
9746
  refreshKey: Date.now(),
9747
- id: newRoute.params.id
9747
+ id: dataId.value
9748
9748
  });
9749
9749
  console.log("detailList.value", detailList.value);
9750
9750
  setTimeout(() => {
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.109";
14
+ var version = "0.1.112";
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.109";
16
+ var version = "0.1.112";
17
17
 
18
18
  const setTheme = theme => {
19
19
  if (theme === "dark") {
@@ -9044,7 +9044,7 @@ const Login = defineComponent({
9044
9044
  default: "\u7CFB\u7EDF\u767B\u5F55"
9045
9045
  },
9046
9046
  bg: {
9047
- default: "",
9047
+ default: "/micro-assets/platform-web/login-bg.png",
9048
9048
  type: String
9049
9049
  },
9050
9050
  loginFn: Function
@@ -9685,7 +9685,7 @@ const getDetailContainer = () => defineComponent({
9685
9685
  }
9686
9686
  };
9687
9687
  const addTab = _.debounce(newRoute => {
9688
- dataId.value = newRoute.params.id;
9688
+ dataId.value = newRoute.params.id || newRoute.query.id;
9689
9689
  const {
9690
9690
  name
9691
9691
  } = route.query;
@@ -9693,7 +9693,7 @@ const getDetailContainer = () => defineComponent({
9693
9693
  name,
9694
9694
  url: route.fullPath,
9695
9695
  key: props.name,
9696
- uniqueKey: newRoute.params.id,
9696
+ uniqueKey: dataId.value,
9697
9697
  icon: props.icon,
9698
9698
  isExtraTab: true,
9699
9699
  params: _.omit(route.query, "name")
@@ -9714,7 +9714,7 @@ const getDetailContainer = () => defineComponent({
9714
9714
  detailList.value.push({
9715
9715
  ...tab,
9716
9716
  refreshKey: Date.now(),
9717
- id: newRoute.params.id
9717
+ id: dataId.value
9718
9718
  });
9719
9719
  console.log("detailList.value", detailList.value);
9720
9720
  setTimeout(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inl-ui",
3
- "version": "0.1.111",
3
+ "version": "0.1.113",
4
4
  "description": "工业 pc ui库",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",
@@ -84,4 +84,4 @@
84
84
  "vite-plugin-qiankun": "^1.0.15",
85
85
  "vue-router": "^4.1.6"
86
86
  }
87
- }
87
+ }