mirror of
https://github.com/QingdaoU/OnlineJudgeFE.git
synced 2024-12-29 16:01:51 +00:00
更新部分按钮颜色和提示问题
This commit is contained in:
parent
9c50d44f70
commit
f09c068b2b
@ -32,7 +32,7 @@ export const m = {
|
||||
General_Announcement: 'Announcement',
|
||||
Announcement_Title: 'Title',
|
||||
Announcement_Content: 'Conten',
|
||||
Announcement_Status: 'Status',
|
||||
Announcement_visible: 'Visible',
|
||||
// Conf.vue
|
||||
SMTP_Config: 'SMTP Config',
|
||||
Server: 'Server',
|
||||
|
@ -32,7 +32,7 @@ export const m = {
|
||||
General_Announcement: '公告',
|
||||
Announcement_Title: '标题',
|
||||
Announcement_Content: '内容',
|
||||
Announcement_Status: '状态',
|
||||
Announcement_visible: '是否可见',
|
||||
// Conf.vue
|
||||
SMTP_Config: 'SMTP Config',
|
||||
Server: '服务器',
|
||||
|
@ -32,7 +32,7 @@ export const m = {
|
||||
General_Announcement: '公告',
|
||||
Announcement_Title: '標題',
|
||||
Announcement_Content: '內容',
|
||||
Announcement_Status: '狀態',
|
||||
Announcement_visible: '是否可見',
|
||||
// Conf.vue
|
||||
SMTP_Config: 'SMTP 設定',
|
||||
Server: '伺服器',
|
||||
|
@ -84,7 +84,7 @@
|
||||
<Simditor v-model="announcement.content"></Simditor>
|
||||
</el-form-item>
|
||||
<div class="visible-box">
|
||||
<span>{{$t('m.Announcement_Status')}}</span>
|
||||
<span>{{$t('m.Announcement_visible')}}</span>
|
||||
<el-switch
|
||||
v-model="announcement.visible"
|
||||
active-text=""
|
||||
|
@ -26,9 +26,7 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="TLS">
|
||||
<el-switch
|
||||
v-model="smtp.tls"
|
||||
active-color="#13ce66"
|
||||
inactive-color="#ff4949">
|
||||
v-model="smtp.tls">
|
||||
</el-switch>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
@ -231,9 +231,7 @@
|
||||
<el-col :span="8">
|
||||
<el-form-item :label="$t('m.Is_Disabled')">
|
||||
<el-switch
|
||||
v-model="user.is_disabled"
|
||||
active-text=""
|
||||
inactive-text="">
|
||||
v-model="user.is_disabled">
|
||||
</el-switch>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
@ -326,7 +324,7 @@
|
||||
})
|
||||
},
|
||||
deleteUsers (ids) {
|
||||
this.$confirm('Sure to delete the user?', 'confirm', {
|
||||
this.$confirm('Sure to delete the user? The associated resources created by this user will be deleted as well, like problem, contest, announcement, etc.', 'confirm', {
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
api.deleteUsers(ids.join(',')).then(res => {
|
||||
|
Loading…
Reference in New Issue
Block a user