|
|
@@ -48,7 +48,7 @@ interface RuleForm { |
|
|
|
|
|
|
|
pushState: string | boolean, |
|
|
|
daySum: number, |
|
|
|
Interval:number |
|
|
|
interval:number |
|
|
|
} |
|
|
|
|
|
|
|
const formSize = ref<ComponentSize>('default') |
|
|
@@ -56,7 +56,7 @@ const ruleFormRef = ref<FormInstance>() |
|
|
|
const ruleForm = reactive<RuleForm>({ |
|
|
|
pushState: false, |
|
|
|
daySum: 1, |
|
|
|
Interval:1 |
|
|
|
interval:1 |
|
|
|
}) |
|
|
|
const pushOptions = [{ |
|
|
|
label: '开启', |
|
|
@@ -89,7 +89,7 @@ async function getPushData() { |
|
|
|
let {data} = await abilityApi.getPushInfo({}) |
|
|
|
ruleForm.daySum = data.daySum; |
|
|
|
ruleForm.pushState = data.pushState; |
|
|
|
ruleForm.Interval = data.Interval; |
|
|
|
ruleForm.interval = data.interval; |
|
|
|
console.log(data); |
|
|
|
} |
|
|
|
const submitForm = async (formEl: FormInstance | undefined) => { |
|
|
|