mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 12:26:47 +08:00
选择按钮回显名称,message提示统一warning
This commit is contained in:
@@ -403,11 +403,11 @@ export default {
|
||||
const updateVoteInfo = () => {
|
||||
if (!state.inputV1) {
|
||||
message.destroy();
|
||||
return message.info("请输入投票名称");
|
||||
return message.warning("请输入投票名称");
|
||||
}
|
||||
if (!state.ballotId) {
|
||||
message.destroy();
|
||||
return message.info("请创建题干信息");
|
||||
return message.warning("请创建题干信息");
|
||||
}
|
||||
|
||||
if (!state.time) {
|
||||
@@ -415,7 +415,7 @@ export default {
|
||||
return message.warning("请输入直播时间");
|
||||
}
|
||||
if (!state.basevote) {
|
||||
return message.info("请上传投票基数");
|
||||
return message.warning("请上传投票基数");
|
||||
}
|
||||
if (state.time != undefined) {
|
||||
state.startTime = dayjs(state.time[0]).format("YYYY-MM-DD");
|
||||
|
||||
Reference in New Issue
Block a user