fix: 问题修复

This commit is contained in:
huxuejian 2026-02-27 10:36:17 +08:00
parent 39847cbad4
commit 5fbb442ff5
2 changed files with 9 additions and 1 deletions

View File

@ -189,7 +189,7 @@ async function init() {
}
async function getArchives() {
const res = await api('getUnbindMiniAppCustomers', { corpId: corpId.value, mobile: '13456900981' || account.value.mobile });
const res = await api('getUnbindMiniAppCustomers', { corpId: corpId.value, mobile: account.value.mobile });
if (res && res.success) {
corpName.value = res.corpName;
customers.value = Array.isArray(res.data) ? res.data : [];

View File

@ -19,6 +19,13 @@ const { account } = storeToRefs(useAccountStore());
const loading = ref(false);
const team = ref(null);
const opts = ref('');
function copy(){
uni.setClipboardData({
data:opts.value || '暂无内容'
})
}
async function changeTeam({ teamId, corpId }) {
loading.value = true;
@ -69,6 +76,7 @@ async function bindTeam() {
}
onLoad((options) => {
opts.value = JSON.stringify(options)
const href =
typeof options.q === "string" ? decodeURIComponent(options.q) : "";
const [, url = ""] = href.split("?");