diff --git a/src/i18n/en.ts b/src/i18n/en.ts
index b6a5a81..02d4fbb 100644
--- a/src/i18n/en.ts
+++ b/src/i18n/en.ts
@@ -139,6 +139,7 @@ export default {
shuruzhiborenshu: "Please input the number of live broadcast",
zhibojianjie: "Text introduction",
shuruzhibojianjie: "Please enter your live broadcast profile",
+ fabuzhibob: "Submit",
fabuzhibo: "Live Class",
wuzhibozige: "You are not eligible for live broadcast",
yijianfankui: "Feedback",
diff --git a/src/i18n/zh.ts b/src/i18n/zh.ts
index fd34efa..a26e822 100644
--- a/src/i18n/zh.ts
+++ b/src/i18n/zh.ts
@@ -143,6 +143,7 @@ export default {
zhibojianjie:"直播简介",
shuruzhibojianjie:"请输入您的直播简介",
fabuzhibo:"发布直播",
+ fabuzhibob:"发布直播",
wuzhibozige:"您尚未获得直播资格",
yijianfankui:"意见反馈",
fen:"分",
diff --git a/src/utils/common.ts b/src/utils/common.ts
index b6b2177..fb48bca 100644
--- a/src/utils/common.ts
+++ b/src/utils/common.ts
@@ -73,15 +73,13 @@ export function provenimg(file: any): boolean | void{
message.error(lan.$t('zuida') + "2MB")
return false;
}
- let istype = false
for(const i in type){
if(type[i] == ntype){
- istype = true
+ return true
}
}
message.error(lan.$t("leixingcuowu"))
- console.log(istype)
- return istype;
+ return false;
}
/**
diff --git a/src/views/mine/ReleaseWebcast.vue b/src/views/mine/ReleaseWebcast.vue
index e0efa68..da77559 100644
--- a/src/views/mine/ReleaseWebcast.vue
+++ b/src/views/mine/ReleaseWebcast.vue
@@ -174,7 +174,7 @@
{{ form.desc.length }}/200
- {{ lan.$t("fabuzhibo") }}
+ {{ lan.$t("fabuzhibob") }}
{{ lan.$t("quxiaozhibo") }}