|
@@ -49,7 +49,7 @@ const show = ref(false);
|
|
|
const followInfoHandler = () => {
|
|
|
show.value = true;
|
|
|
};
|
|
|
- // 取消或者添加关注
|
|
|
+// 取消或者添加关注
|
|
|
const isFollowHandler = async () => {
|
|
|
const res = await RaiApi.userIndustryFollow({
|
|
|
SourceId: props.sourceId,
|
|
@@ -57,12 +57,9 @@ const isFollowHandler = async () => {
|
|
|
DoType: props.isFollowData ? "cancel" : "add",
|
|
|
});
|
|
|
if (res.Ret === 200) {
|
|
|
- uni.showToast({
|
|
|
- title: res.Msg,
|
|
|
- duration: 2000,
|
|
|
- });
|
|
|
emits("update:isFollowData", res.Data.Status == 1 ? true : false);
|
|
|
}
|
|
|
+ Toast(res.Msg);
|
|
|
};
|
|
|
// 关闭弹框
|
|
|
const onClickHide = () => {
|