Skip to content

Commit bdd8abc

Browse files
committed
导入布局文件时只看tk后缀的文件
1 parent 66599ea commit bdd8abc

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/components/toolbar.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,15 @@
7272
<el-dropdown-item>
7373
<el-upload action=""
7474
:before-upload="importTk"
75+
accept=".tk"
7576
:limit="1">
7677
导入布局文件
7778
</el-upload>
7879
</el-dropdown-item>
7980
<el-dropdown-item>
8081
<el-upload action=""
8182
:before-upload="importTkAndFix"
83+
accept=".tk"
8284
:limit="1">
8385
导入并修复布局
8486
</el-upload>

src/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ export default {
1010
web: 'https://www.pytk.net/tkinter-helper',
1111
github: 'https://github.com/iamxcd/tkinter-helper',
1212
gitee: 'https://gitee.com/iamxcd/tkinter-helper',
13-
version: '2.5.2',
13+
version: '2.5.3',
1414
qq_group: '788392508'
1515
}

0 commit comments

Comments
 (0)