修复了一些小错误

This commit is contained in:
luyuan 2020-11-27 09:46:09 +08:00
parent b5f9f46da8
commit 660af5b8e1
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3
4 changed files with 5 additions and 5 deletions

View File

@ -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",

View File

@ -143,6 +143,7 @@ export default {
zhibojianjie:"直播简介",
shuruzhibojianjie:"请输入您的直播简介",
fabuzhibo:"发布直播",
fabuzhibob:"发布直播",
wuzhibozige:"您尚未获得直播资格",
yijianfankui:"意见反馈",
fen:"分",

View File

@ -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;
}
/**

View File

@ -174,7 +174,7 @@
<span class="words-number">{{ form.desc.length }}/200</span>
</a-form-item>
<a-form-item :wrapper-col="{ span: 4, offset: 0 }">
<a-button @click="onSubmit">{{ lan.$t("fabuzhibo") }}</a-button>
<a-button @click="onSubmit">{{ lan.$t("fabuzhibob") }}</a-button>
<a-button style="margin-left:0.15rem;background-color: red;" @click="isquxiao = true" v-if="isbianji">{{ lan.$t("quxiaozhibo") }}</a-button>
</a-form-item>