@@ -23,5 +23,8 @@ module.exports = {
},
parserOptions: {
parser: "babel-eslint"
+ },
+ "globals":{
+ "lx": true
}
};
@@ -92,6 +92,7 @@ export default {
created() {
this.initFun();
+ this.lanXinTest();
watch: {
// 监听:首页切换tab的下标
@@ -202,6 +203,12 @@ export default {
.catch(() => {
this.$store.commit("toggleLoading", false);
});
+ lanXinTest() {
+ console.log(JSON.stringify(lx));
+ lx.biz.getAuthCode({
+ appId: "String"
+ });