|
|
@@ -52,13 +52,14 @@ const selectedRows = ref([]);
|
|
|
|
|
|
// 生成小程序二维码
|
|
|
async function generateQRCode(row: { id: string | number }) {
|
|
|
+ console.log(Session.get('tenant_id'));
|
|
|
try {
|
|
|
qrCodeVisible.value = true;
|
|
|
qrCodeUrl.value = ''; // 清空之前的二维码
|
|
|
|
|
|
// 调用系统API获取二维码
|
|
|
const response = await axios.post(`${import.meta.env.VITE_API_URL}/api/system/wechat/qrcode`, {
|
|
|
- scene: `${row.id}`,
|
|
|
+ scene: `${Session.get('tenant_id')}`,//row.id
|
|
|
page: 'pages/index/index',
|
|
|
width: 430,
|
|
|
auto_color: false,
|