1 line
1.9 KiB
JavaScript
1 line
1.9 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-ef9c8fea"],{5464:function(t,e,n){},bc16:function(t,e,n){"use strict";n("5464")},dfbe:function(t,e,n){"use strict";n.d(e,"f",(function(){return o})),n.d(e,"b",(function(){return u})),n.d(e,"d",(function(){return c})),n.d(e,"g",(function(){return i})),n.d(e,"h",(function(){return a})),n.d(e,"e",(function(){return d})),n.d(e,"a",(function(){return f})),n.d(e,"i",(function(){return l})),n.d(e,"c",(function(){return s}));var r=n("b775");function o(t){return Object(r["a"])({url:"/note/"+t,method:"get"})}function u(t){return Object(r["a"])({url:"/note",method:"post",data:t})}function c(t){return Object(r["a"])({url:"/note/"+t,method:"delete"})}function i(t){return Object(r["a"])({url:"/note/folder/list",method:"get",params:t})}function a(t){return Object(r["a"])({url:"/note/folder/treeList",method:"get",params:t})}function d(t){return Object(r["a"])({url:"/note/folder/"+t,method:"get"})}function f(t){return Object(r["a"])({url:"/note/folder",method:"post",data:t})}function l(t){return Object(r["a"])({url:"/note/folder",method:"put",data:t})}function s(t){return Object(r["a"])({url:"/note/folder/"+t,method:"delete"})}},fa9a:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"note-details"},[n("van-nav-bar",{attrs:{fixed:"","left-arrow":"","left-text":"返回",title:t.note.title},on:{"click-left":function(e){return t.$router.go(-1)}}}),n("van-row",[n("div",{staticClass:"content",domProps:{innerHTML:t._s(t.note.content)}})])],1)},o=[],u=n("dfbe"),c={name:"detail",data:function(){return{note:{}}},mounted:function(){this.getFolder()},methods:{getFolder:function(){var t=this;Object(u["f"])(this.$route.query.id).then((function(e){t.note=e.data}))}}},i=c,a=(n("bc16"),n("2877")),d=Object(a["a"])(i,r,o,!1,null,"cf0943d6",null);e["default"]=d.exports}}]); |