update
This commit is contained in:
@@ -59,7 +59,7 @@ const success = async () => {
|
||||
@ok="success">
|
||||
<a-form layout="vertical">
|
||||
<a-form-item label="是否回复之前评论" v-if="item.comment.length !== 0">
|
||||
<a-radio-group v-model:model-value="form.is_reply">
|
||||
<a-radio-group v-model:model-value="form.is_reply" @change="form.pid=null">
|
||||
<a-radio :value="0">否</a-radio>
|
||||
<a-radio :value="1">是</a-radio>
|
||||
</a-radio-group>
|
||||
|
||||
@@ -48,6 +48,12 @@ const success = async () => {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
const initGLPO = () => {
|
||||
form.value.material_id = null;
|
||||
form.value.backfill.forEach(v => v.content_id = null);
|
||||
form.value.settltment_before.length = 0;
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -64,7 +70,7 @@ const success = async () => {
|
||||
<a-form-item label="投放渠道" field="platform_id">
|
||||
<XSelect
|
||||
:init="true"
|
||||
@change="form.material_id=null"
|
||||
@change="initGLPO"
|
||||
v-model:model-value="form.platform_id"
|
||||
:api="SystemStore.isRoot ? Api.admin.getPlatform : Api.merchant.getPlatformList">
|
||||
</XSelect>
|
||||
|
||||
Reference in New Issue
Block a user