fix: 调整消息分页大小并添加AppSecret输入框
将消息分页大小从190调整为100以优化性能 在表单中添加AppSecret输入框并设置密码类型,增强安全性
This commit is contained in:
parent
1dbf6ffa5a
commit
5e73e111a4
@ -69,7 +69,7 @@ const sendeInfo = reactive({
|
||||
// 消息分页查询参数
|
||||
const msgQuery = reactive({
|
||||
page: 1,
|
||||
page_size: 190,
|
||||
page_size: 100,
|
||||
app_id: route.query.app_id,
|
||||
user_id: ''
|
||||
})
|
||||
|
||||
@ -94,6 +94,9 @@
|
||||
<el-form-item label="小程序ID" prop="app_id">
|
||||
<el-input v-model="ruleForm.app_id" placeholder="请输入小程序ID" size="large" />
|
||||
</el-form-item>
|
||||
<el-form-item label="AppSecret" prop="app_secret">
|
||||
<el-input v-model="ruleForm.app_secret" placeholder="请输入AppSecret" size="large" type="password" show-password />
|
||||
</el-form-item>
|
||||
|
||||
|
||||
<el-form-item label="头像" prop="avatar">
|
||||
@ -202,6 +205,11 @@ const rules = ref({
|
||||
message: '请输入小程序ID',
|
||||
trigger: 'change',
|
||||
}],
|
||||
app_secret: [{
|
||||
required: true,
|
||||
message: '请输入AppSecret',
|
||||
trigger: 'change',
|
||||
}],
|
||||
avatar: [{
|
||||
required: true,
|
||||
message: '请上传小程序头像',
|
||||
@ -260,6 +268,7 @@ const submitRobot = async () => {
|
||||
description: ruleForm.value.description,
|
||||
name: ruleForm.value.name,
|
||||
app_id: ruleForm.value.app_id,
|
||||
app_secret: ruleForm.value.app_secret,
|
||||
avatar: ruleForm.value.avatar
|
||||
})
|
||||
// editItem = ruleForm.value
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user