Skip to content

Commit c52d4bc

Browse files
committed
fix: 修改了文件输入的接受类型,从"text/javascript"更改为"application/json",以正确反映预期的文件类型。
1 parent 98a14fe commit c52d4bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/zztek.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<br />
3535
<v-file-input
3636
v-model="file"
37-
accept="text/javascript"
37+
accept="application/json"
3838
label="上传配置文件"
3939
@multiple="false"
4040
@change="loadFile()"

0 commit comments

Comments
 (0)