Commit fc6ec04f by 王昆

gsb

parent 231c8653
......@@ -40,7 +40,7 @@ module.exports = function (app) {
app.get('/vue/comp/:cname',function(req,res){
var componentName=req.params.cname;
buildComponent(componentName).then(function(r){
res.end(r.replace(/\n/g,""));
res.end(r.replace(/\n\r/g,""));
});
});
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment