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