Skip to content

Commit ecba044

Browse files
committed
feat: 文件类型为 mihomo 配置时, 来源可以为无
1 parent 594af3c commit ecba044

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sub-store-front-end",
3-
"version": "2.14.342",
3+
"version": "2.14.343",
44
"private": true,
55
"scripts": {
66
"dev": "vite --host",

src/locales/en.ts

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export default {
1111
untagged: "Untagged",
1212
or: "or",
1313
type: "Type",
14+
none: "None",
1415
},
1516
globalNotify: {
1617
refresh: {

src/locales/zh.ts

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export default {
1111
untagged: '未分组',
1212
or: '或',
1313
type: '类型',
14+
none: '无',
1415
},
1516
globalNotify: {
1617
refresh: {

src/views/FileEditor.vue

+4
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,14 @@
146146
<nut-radio shape="button" label="collection">
147147
{{ $t(`specificWord.collectionSub`) }}
148148
</nut-radio>
149+
<nut-radio shape="button" label="none">
150+
{{ $t(`specificWord.none`) }}
151+
</nut-radio>
149152
</nut-radiogroup>
150153
</div>
151154
</nut-form-item>
152155
<nut-form-item
156+
v-if="form.sourceType !== 'none'"
153157
required
154158
:label="$t(`tabBar.sub`) + $t(`editorPage.subConfig.basic.name.label`)"
155159
prop="sourceName"

0 commit comments

Comments
 (0)