@@ -97,6 +97,7 @@ export function getTicketFun(jsApiList = ['getLocation']) {
signature: qiyeData.signature, // 必填,签名,见 附录-JS-SDK使用权限签名算法
jsApiList: ['ready', ...jsApiList], // 必填,需要使用的JS接口列表,凡是要调用的接口都需要传进来
});
+ console.log('获取签名成功');
resolve('获取签名成功');
} else {
console.log('获取签名失败');
@@ -2379,6 +2379,7 @@ export default {
onLoad() {
// 授权
getTicketFun().then(() => {
+ debugger;
var postType = localStorage.getItem('postType');
if (postType == 'GZ') {
this.typeShow = false;