@yqg/permission 1.0.8 → 1.0.9

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.
@@ -1,4 +1,4 @@
1
- import { F as Qe, i as Kn, C as ug, T as Gs, d as k, r as Xe, o as Pe, a as Vn, b as MA, w as V, g as st, p as fe, c as D, e as pe, f as G, u as K, s as Y, h as Se, j as Ge, t as gg, k as I, l as qt, m as Ws, n as fg, q as qn, v as Ks, x as Zt, y as Fe, z as dg, A as pg, B as Pi, D as Cg, E as Vs, G as RA, H as qs, I as Bg, J as hg, K as Bt, L as Si, M as co, N as ht, O as He, P as En, Q as nt, R as vn, S as Eg, U as vg } from "./index-CUxQJBEu.js";
1
+ import { F as Qe, i as Kn, C as ug, T as Gs, d as k, r as Xe, o as Pe, a as Vn, b as MA, w as V, g as st, p as fe, c as D, e as pe, f as G, u as K, s as Y, h as Se, j as Ge, t as gg, k as I, l as qt, m as Ws, n as fg, q as qn, v as Ks, x as Zt, y as Fe, z as dg, A as pg, B as Pi, D as Cg, E as Vs, G as RA, H as qs, I as Bg, J as hg, K as Bt, L as Si, M as co, N as ht, O as He, P as En, Q as nt, R as vn, S as Eg, U as vg } from "./index-C8yV-rG_.js";
2
2
  function Mn(e) {
3
3
  "@babel/helpers - typeof";
4
4
  return Mn = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
@@ -16590,7 +16590,7 @@ const Wr = "/crane", Gy = {
16590
16590
  emits: ["onSuccess"],
16591
16591
  setup(e, { emit: t }) {
16592
16592
  const n = vg(
16593
- () => import("./apply-modal-AV3_k_ue.js").then((h) => h.a)
16593
+ () => import("./apply-modal-CAyKTe_X.js").then((h) => h.a)
16594
16594
  ), o = {
16595
16595
  DEFAULT: "DEFAULT",
16596
16596
  PENDING: "PENDING",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yqg/permission",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "type": "module",
package/src/App.vue CHANGED
@@ -38,7 +38,7 @@ const changeLocale = () => {
38
38
  <!-- 05184 -->
39
39
  <yqg-permission
40
40
  :permissions="permissions"
41
- workNumber="EX03385"
41
+ workNumber="05184"
42
42
  businessCode="CRANE"
43
43
  :color="color"
44
44
  :locale="locale"
@@ -17,7 +17,7 @@
17
17
  </span>
18
18
  <Popover>
19
19
  <template #content>
20
- {{ item.name }}
20
+ <div style="max-width: 400px;">{{ item.name }}</div>
21
21
  </template>
22
22
  <span class="crane-text-overflow">{{ item.name }}</span>
23
23
  </Popover>
@@ -47,16 +47,18 @@
47
47
 
48
48
  <Popover v-if="item.desc">
49
49
  <template #content>
50
- {{ item.desc }}
50
+ <div style="max-width: 400px;">{{ item.desc }}</div>
51
51
  </template>
52
52
  <QuestionCircleOutlined class=" crane-week-color"/>
53
53
  </Popover>
54
54
 
55
55
  <Popover v-if="item.relatedDepartments">
56
56
  <template #content>
57
- {{t('adaptDepartment')}}:{{ item.relatedDepartments.map((item: any) => {
57
+ <div style="max-width: 400px;">
58
+ {{t('adaptDepartment')}}:{{ item.relatedDepartments.map((item: any) => {
58
59
  return item.name;
59
60
  }).join('、') }}
61
+ </div>
60
62
  </template>
61
63
  <span class="crane-flex-center crane-margin-left-4">
62
64
  <img :src="departmentImg" height="14" width="14">
package/vite.config.ts CHANGED
@@ -13,7 +13,7 @@ export default defineConfig({
13
13
  },
14
14
  server: {
15
15
  proxy: {
16
- '/admin': {
16
+ '/crane': {
17
17
  target: 'https://crane-test.yangqianguan.com',
18
18
  changeOrigin: true,
19
19
  },