Skip to content

Commit 5e5b0c3

Browse files
add img about product
1 parent b25c26a commit 5e5b0c3

File tree

7 files changed

+8
-7
lines changed

7 files changed

+8
-7
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ webview的框架是[**tauri**](https://tauri.app/zh-cn/v1/guides/)
77

88
## [环境搭建](./set_env.md)
99

10+
## [产品样式/图片](./img/product/main.png)
11+
1012
```sh
1113
RUN:
1214
cargo tauri dev

img/product/init.png

16.2 KB
Loading

img/product/main.png

105 KB
Loading

img/product/setting-color.png

31 KB
Loading

img/product/setting-key.png

26.1 KB
Loading

img/product/setting-workspace.png

25.1 KB
Loading

ui/js/setting.js

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
var color = {};
22

3-
export var rightfileValue="";
4-
export var codeEditorValue = "";
5-
export var footerValue = "";
6-
export var leftfileValue="";
7-
export var menuValue="";
8-
export var terimalValue = "";
3+
var rightfileValue="";
4+
var codeEditorValue = "";
5+
var footerValue = "";
6+
var leftfileValue="";
7+
var menuValue="";
8+
var terimalValue = "";
99

1010
function get_setting_color(json_color){
1111
const jsonObject = JSON.parse(json_color);
@@ -41,7 +41,6 @@ document.getElementById("get-data-btn").addEventListener("click", async () => {
4141
const text = JSON.stringify(data, null, 2);
4242
console.log(text);
4343
color=text;
44-
get_setting_color(color); // get json color
4544
document.getElementById("output").innerText = text;
4645
} catch (error) {
4746
console.error(`Error fetching ${selected}:`, error);

0 commit comments

Comments
 (0)