inl-ui 0.1.34 → 0.1.35

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
+
@@ -8845,7 +8845,6 @@ const VideoPlayerV2 = vue.defineComponent({
8845
8845
  }, null) : vue.createVNode("video", {
8846
8846
  "class": "videoComponent fill",
8847
8847
  "src": videoInfo2.value.mp4ResourcesPath,
8848
- "controls": true,
8849
8848
  "autoplay": true,
8850
8849
  "loop": true,
8851
8850
  "muted": true
@@ -12690,7 +12689,7 @@ async function audioToText(file) {
12690
12689
  }
12691
12690
  const {
12692
12691
  result
12693
- } = await fetch(`/api/chat/v1/translate?path=${path}&session_hash=1`, {
12692
+ } = await fetch(`/api/chat/v1/translate/?path=${path}&session_hash=1`, {
12694
12693
  headers,
12695
12694
  method: "POST"
12696
12695
  }).then(res => res.json());
@@ -8834,7 +8834,6 @@ const VideoPlayerV2 = defineComponent({
8834
8834
  }, null) : createVNode("video", {
8835
8835
  "class": "videoComponent fill",
8836
8836
  "src": videoInfo2.value.mp4ResourcesPath,
8837
- "controls": true,
8838
8837
  "autoplay": true,
8839
8838
  "loop": true,
8840
8839
  "muted": true
@@ -12679,7 +12678,7 @@ async function audioToText(file) {
12679
12678
  }
12680
12679
  const {
12681
12680
  result
12682
- } = await fetch(`/api/chat/v1/translate?path=${path}&session_hash=1`, {
12681
+ } = await fetch(`/api/chat/v1/translate/?path=${path}&session_hash=1`, {
12683
12682
  headers,
12684
12683
  method: "POST"
12685
12684
  }).then(res => res.json());