fix: 问题修复
This commit is contained in:
parent
39847cbad4
commit
5fbb442ff5
@ -189,7 +189,7 @@ async function init() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function getArchives() {
|
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) {
|
if (res && res.success) {
|
||||||
corpName.value = res.corpName;
|
corpName.value = res.corpName;
|
||||||
customers.value = Array.isArray(res.data) ? res.data : [];
|
customers.value = Array.isArray(res.data) ? res.data : [];
|
||||||
|
|||||||
@ -19,6 +19,13 @@ const { account } = storeToRefs(useAccountStore());
|
|||||||
|
|
||||||
const loading = ref(false);
|
const loading = ref(false);
|
||||||
const team = ref(null);
|
const team = ref(null);
|
||||||
|
const opts = ref('');
|
||||||
|
|
||||||
|
function copy(){
|
||||||
|
uni.setClipboardData({
|
||||||
|
data:opts.value || '暂无内容'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
async function changeTeam({ teamId, corpId }) {
|
async function changeTeam({ teamId, corpId }) {
|
||||||
loading.value = true;
|
loading.value = true;
|
||||||
@ -69,6 +76,7 @@ async function bindTeam() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
onLoad((options) => {
|
onLoad((options) => {
|
||||||
|
opts.value = JSON.stringify(options)
|
||||||
const href =
|
const href =
|
||||||
typeof options.q === "string" ? decodeURIComponent(options.q) : "";
|
typeof options.q === "string" ? decodeURIComponent(options.q) : "";
|
||||||
const [, url = ""] = href.split("?");
|
const [, url = ""] = href.split("?");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user