feat: 避免卡住
This commit is contained in:
@ -46,17 +46,22 @@ import Footer from './footer.vue'
|
|||||||
// import useCallModule from '../sdk/call.js'
|
// import useCallModule from '../sdk/call.js'
|
||||||
const { proxy } = getCurrentInstance();
|
const { proxy } = getCurrentInstance();
|
||||||
// const Call = useCallModule()
|
// const Call = useCallModule()
|
||||||
window.lemon.login.login({
|
try {
|
||||||
username: "linzhigongan1",
|
window.lemon.login.login({
|
||||||
password: "linzhigongan1",
|
username: "linzhigongan1",
|
||||||
realm: "puc.com",
|
password: "linzhigongan1",
|
||||||
webpucUrl: "https://192.168.0.1:16888",
|
realm: "puc.com",
|
||||||
}).then(res => {
|
webpucUrl: "https://192.168.0.1:16888",
|
||||||
console.log(res,"登录成功");
|
}).then(res => {
|
||||||
}).catch(err => {
|
console.log(res,"登录成功");
|
||||||
console.log(err,"登录失败");
|
}).catch(err => {
|
||||||
|
console.log(err,"登录失败");
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
|
} catch (error) {
|
||||||
|
console.log('error: ', error);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
|
|||||||
Reference in New Issue
Block a user