Skip to content

Commit 34d3f8b

Browse files
committed
调整 带上版本信息
1 parent a08024b commit 34d3f8b

File tree

4 files changed

+8
-1
lines changed

4 files changed

+8
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ tkinter 是 Python 自带的标准库,因此无须另行安装,它支持跨
3838
- [x] 事件绑定
3939
- [x] 组件配置(列表框选项、下拉选择框选项,选项卡编辑、表格表头配置)
4040
- [x] 项目管理 支持将布局文件存储到服务端,防止丢失。(后端代码不开源)
41+
- [x] tk布局文件修复。用于修复,随着版本的更新,布局文件出现的不兼容。
4142

4243
## 目前支持的组件
4344
- 标签

src/components/toolbar.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ import { preview } from "@/config.js";
101101
import { Loading } from "element-ui";
102102
import { win_default } from "@/core/py-attrs";
103103
import Attrs from "@/core/py-attrs";
104+
import config from "@/config";
104105
export default {
105106
props: {
106107
isSaved: {
@@ -169,6 +170,7 @@ export default {
169170
// 字符内容转变成blob地址
170171
let content = {
171172
win: this.frame,
173+
...config,
172174
};
173175
content = JSON.stringify(content);
174176
content = Base64.encode(content);

src/config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ export const baseURL = 'https://v1.pytk.net/api';
77

88
export default {
99
name: 'Tkinter布局助手',
10+
web: 'https://pytk.net/tkinter-helper',
11+
github: 'https://github.com/iamxcd/tkinter-helper',
12+
gitee: 'https://gitee.com/iamxcd/tkinter-helper',
1013
version: '2.4.2',
1114
qq_group: '788392508'
1215
}

src/router/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ const routes = [
3030
]
3131

3232
const router = new VueRouter({
33-
routes
33+
routes,
34+
mode: 'history'
3435
})
3536

3637
const whiteList = ['/login', '/about', '/help', '/']

0 commit comments

Comments
 (0)