merge dev-shenjianbin into master

订阅改为多选

Created-by: MaxShen
Commit-by: MaxShen
Merged-by: MaxShen
Description: 订阅改为多选

See merge request: hk_openRepo/OpenRepo_Portal!62
This commit is contained in:
MaxShen
2025-03-21 09:24:32 +08:00

View File

@@ -31,7 +31,7 @@ const formData = ref({
subscribeType: [], subscribeType: [],
}); });
const rules = { const rules = {
subscribeType: [{ required: true, message: '请选择', trigger: 'change' }], subscribeType: [{ type: 'array', required: true, message: '请至少选择一种通知方式', trigger: 'change' }],
}; };
const sendSubscribe = async () => { const sendSubscribe = async () => {
let alertType = {}; let alertType = {};