inl-ui 0.1.64 → 0.1.65

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/README.md CHANGED
@@ -1,49 +1,49 @@
1
- # 工业PC ui库
2
-
3
- 前端通用库,包括组件、hooks、utils等。
4
-
5
- ### 运行
6
-
7
- + 开发模式 yarn dev
8
- + 生产打包 yarn build
9
- + 生成文档 yarn build:docs
10
- + 打包图扑工具 yarn buildtp
11
-
12
- ### 使用方法
13
-
14
- ```javascript
15
- import inl from 'inl-ui';
16
- import 'inl-ui/dist/style.css';
17
-
18
- vue.use(inl)
19
- ```
20
-
21
-
22
-
23
- ### 激活主题
24
-
25
- **vite.config.ts**
26
-
27
- ```javascript
28
- const additionalData = require("inl-ui/dist/theme").default;
29
-
30
- ...
31
-
32
- css: {
33
- preprocessorOptions: {
34
- less: {
35
- javascriptEnabled: true,
36
- additionalData,
37
- },
38
- },
39
- },
40
- ```
41
-
42
- ### 文档链接
43
-
44
- ##### [组件文档](./src/components/README.md)
45
-
46
- ##### [hooks文档](./src/hooks/README.md)
47
-
48
- ##### [Utils文档](./src/utils/README.md)
49
-
1
+ # 工业PC ui库
2
+
3
+ 前端通用库,包括组件、hooks、utils等。
4
+
5
+ ### 运行
6
+
7
+ + 开发模式 yarn dev
8
+ + 生产打包 yarn build
9
+ + 生成文档 yarn build:docs
10
+ + 打包图扑工具 yarn buildtp
11
+
12
+ ### 使用方法
13
+
14
+ ```javascript
15
+ import inl from 'inl-ui';
16
+ import 'inl-ui/dist/style.css';
17
+
18
+ vue.use(inl)
19
+ ```
20
+
21
+
22
+
23
+ ### 激活主题
24
+
25
+ **vite.config.ts**
26
+
27
+ ```javascript
28
+ const additionalData = require("inl-ui/dist/theme").default;
29
+
30
+ ...
31
+
32
+ css: {
33
+ preprocessorOptions: {
34
+ less: {
35
+ javascriptEnabled: true,
36
+ additionalData,
37
+ },
38
+ },
39
+ },
40
+ ```
41
+
42
+ ### 文档链接
43
+
44
+ ##### [组件文档](./src/components/README.md)
45
+
46
+ ##### [hooks文档](./src/hooks/README.md)
47
+
48
+ ##### [Utils文档](./src/utils/README.md)
49
+
@@ -9326,6 +9326,7 @@ var Tree = vue.defineComponent({
9326
9326
  });
9327
9327
  arrB.forEach(key => {
9328
9328
  delete obj[key];
9329
+ delete obj[key.split("-")[1]];
9329
9330
  });
9330
9331
  return Object.keys(obj);
9331
9332
  };
@@ -9762,10 +9763,11 @@ const VideoBoxV2 = vue.defineComponent({
9762
9763
  };
9763
9764
  const showChangeDialog = vue.ref(false);
9764
9765
  const checkChange = res => {
9765
- camera.value = void 0;
9766
- showChangeDialog.value = false;
9767
- setNewCamera(res[0].uuid);
9768
- _context.emit("change", res[0].uuid);
9766
+ if (res[0]) {
9767
+ showChangeDialog.value = false;
9768
+ setNewCamera(res[0].uuid);
9769
+ _context.emit("change", res[0].uuid);
9770
+ }
9769
9771
  };
9770
9772
  const renderChangeCamera = () => {
9771
9773
  return vue.createVNode(vue.resolveComponent("a-modal"), {
@@ -9298,6 +9298,7 @@ var Tree = defineComponent({
9298
9298
  });
9299
9299
  arrB.forEach(key => {
9300
9300
  delete obj[key];
9301
+ delete obj[key.split("-")[1]];
9301
9302
  });
9302
9303
  return Object.keys(obj);
9303
9304
  };
@@ -9734,10 +9735,11 @@ const VideoBoxV2 = defineComponent({
9734
9735
  };
9735
9736
  const showChangeDialog = ref(false);
9736
9737
  const checkChange = res => {
9737
- camera.value = void 0;
9738
- showChangeDialog.value = false;
9739
- setNewCamera(res[0].uuid);
9740
- _context.emit("change", res[0].uuid);
9738
+ if (res[0]) {
9739
+ showChangeDialog.value = false;
9740
+ setNewCamera(res[0].uuid);
9741
+ _context.emit("change", res[0].uuid);
9742
+ }
9741
9743
  };
9742
9744
  const renderChangeCamera = () => {
9743
9745
  return createVNode(resolveComponent("a-modal"), {