|
@@ -549,7 +549,7 @@ new Vue({
|
|
|
var self = this;
|
|
var self = this;
|
|
|
window.addEventListener('resize', function() { if (self._charts) self._charts.forEach(function(c) { c.resize(); }); });
|
|
window.addEventListener('resize', function() { if (self._charts) self._charts.forEach(function(c) { c.resize(); }); });
|
|
|
// 加载PRD markdown
|
|
// 加载PRD markdown
|
|
|
- fetch('../prd/需求规格说明书.md').then(function(res) { return res.text(); }).then(function(md) {
|
|
|
|
|
|
|
+ fetch('../prd/prd.md').then(function(res) { return res.text(); }).then(function(md) {
|
|
|
self.prdContent = marked.parse(md);
|
|
self.prdContent = marked.parse(md);
|
|
|
}).catch(function() { self.prdContent = '<p>文档加载失败,请确保通过HTTP服务访问。</p>'; });
|
|
}).catch(function() { self.prdContent = '<p>文档加载失败,请确保通过HTTP服务访问。</p>'; });
|
|
|
}
|
|
}
|