fix:导购保存appId参数修改
This commit is contained in:
@@ -101,10 +101,10 @@ const onSubmit = () => {
|
||||
});
|
||||
};
|
||||
async function submitData(){
|
||||
formState.value.appId = [formState.value.appId]
|
||||
let params = {
|
||||
...formState.value,
|
||||
"publishSn": route.query.sn,
|
||||
appId:[props.channel.appId]
|
||||
}
|
||||
const res = await savePublish(params);
|
||||
if(res.code === 0) {
|
||||
@@ -150,6 +150,7 @@ const getDetail = async (id) => {
|
||||
};
|
||||
// 组件挂载时检查路由参数
|
||||
onMounted(() => {
|
||||
getContactList()
|
||||
const { record } = route.query;
|
||||
if (record) {
|
||||
const recordObj = JSON.parse(decodeURIComponent(record));
|
||||
|
||||
Reference in New Issue
Block a user