public/html/per_cms.html
@@ -124,11 +124,17 @@ el: '#percms', data:{ cmsUrl:'', loading:false loading:false, cmsurl:'', }, methods:{ getCmsUrl:function(){ var _this = this; if(_this.cmsurl!='') { _this.handleClipboard(_this.cmsurl); return; } _this.loading=true; $.ajax({ headers:{ @@ -138,6 +144,7 @@ //url:'http://dfg.shop.com//api/activity/cmsGet', type:"post", dataType:"json", async: false, data:{ } @@ -145,6 +152,7 @@ if(res.code == 0){ _this.cmsUrl = res.data.url; console.log(res.data.url); _this.cmsurl=res.data.url; _this.handleClipboard(res.data.url); } else {