update
This commit is contained in:
@@ -4,7 +4,7 @@ import XModal from "./XModal.vue";
|
||||
import {getCurrentInstance, nextTick, onMounted, reactive, ref, watch} from "vue";
|
||||
import PlatformENUM from "../enum/PlatformENUM";
|
||||
import Api from "../api/index";
|
||||
import {showToast} from "../utils/uils";
|
||||
import {showToast, toPage} from "../utils/uils";
|
||||
|
||||
const emits = defineEmits(['success']);
|
||||
const {details} = defineProps({
|
||||
@@ -76,12 +76,13 @@ const success = async () => {
|
||||
showToast('请选择帐号');
|
||||
return;
|
||||
}
|
||||
const {msg} = await Api.system.acceptTask({
|
||||
const {msg, data} = await Api.system.acceptTask({
|
||||
id: details.id,
|
||||
account: selected.value,
|
||||
});
|
||||
showToast(msg);
|
||||
show.value = false;
|
||||
await toPage(`/pages/taskDetails/index?id=${data[1]}&task_children_id=${0}&delta=999`)
|
||||
emits('success');
|
||||
}
|
||||
</script>
|
||||
@@ -134,7 +135,7 @@ const success = async () => {
|
||||
<template v-else>
|
||||
<view class="!flex flex-col items-center pb-[50rpx]">
|
||||
<image class="!size-[260rpx]" :src="NULLICON"></image>
|
||||
<view class="test-28r">
|
||||
<view class="test-28r" v-if="po.status===0">
|
||||
可在【我的】→【账号管理】中添加自媒体账号
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user