new Vue({
el: '#app',
data:{
guidanceData:""
},
methods:{
},
mounted: function(){
var vm = this
var Request = GetRequest();
var id = Request["id"];
recordAPI.guidanceDetail({id:id}).then(function(res){
if(res.status == 200){
var data = res.data;
var regN = /\n/g;
var regRN = /\r\n/g;
var content = data.content.replace(/ /g, " ");
content = content.replace(regN,"
");
var p = "
"+content+"
", images = "", imagesList = []; if(data.images && data.images.length > 0){ imagesList = data.images.split(","); } for(i=0; i