|
@@ -37,7 +37,7 @@
|
|
|
import { bindAnchorListApi, bindUserApi } from '/@/api/scene/live';
|
|
|
import { bindAnchorListParam } from '/@/api/scene/model';
|
|
|
import { Time } from '/@/components/Time';
|
|
|
- import { useUserStore } from '/@/store/modules/user';
|
|
|
+ // import { useUserStore } from '/@/store/modules/user';
|
|
|
|
|
|
const { t } = useI18n();
|
|
|
const { createMessage } = useMessage();
|
|
@@ -165,15 +165,15 @@
|
|
|
try {
|
|
|
const rows = getSelectRows();
|
|
|
const rawData = getRawDataSource();
|
|
|
- const userStore = useUserStore();
|
|
|
+ // const userStore = useUserStore();
|
|
|
let paramsRow: bindAnchorListParam[];
|
|
|
if (rows?.length > 0) {
|
|
|
paramsRow = rows.map((row) => {
|
|
|
return {
|
|
|
- brandId: row.id,
|
|
|
+ brandId: String(searchInfo.brandId),
|
|
|
canShow: row.canShow ? 1 : 0,
|
|
|
type: 1,
|
|
|
- userId: String(userStore.getUserInfo?.id),
|
|
|
+ userId: String(row.id),
|
|
|
} as bindAnchorListParam;
|
|
|
});
|
|
|
await bindUserApi(paramsRow);
|