mirror of
https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git
synced 2025-01-22 22:11:22 +08:00
更新。
This commit is contained in:
parent
af71e21ed7
commit
9ffbaa884d
@ -4,6 +4,7 @@
|
|||||||
* 新版清新的模板背景路径**/plugins/xiaoyao-cvs-plugin/resources/dailyNote/icon/bg/**
|
* 新版清新的模板背景路径**/plugins/xiaoyao-cvs-plugin/resources/dailyNote/icon/bg/**
|
||||||
* 模板背景可以自定义具体看内容
|
* 模板背景可以自定义具体看内容
|
||||||
*/
|
*/
|
||||||
|
* 帮助文件新增兼容自定义以及默认
|
||||||
|
|
||||||
# 1.0.4
|
# 1.0.4
|
||||||
* 新增了`版本号`
|
* 新增了`版本号`
|
||||||
|
@ -7,7 +7,7 @@ export const render = async function (path, params, cfg) {
|
|||||||
let { render, e } = cfg;
|
let { render, e } = cfg;
|
||||||
let _layout_path = process.cwd() + "/plugins/xiaoyao-cvs-plugin/resources/";
|
let _layout_path = process.cwd() + "/plugins/xiaoyao-cvs-plugin/resources/";
|
||||||
let layout_path= process.cwd() + "/plugins/xiaoyao-cvs-plugin/resources/common/layout/";
|
let layout_path= process.cwd() + "/plugins/xiaoyao-cvs-plugin/resources/common/layout/";
|
||||||
let base64 = await render(paths[0], paths[1], {
|
let base64 = await render1(paths[0], paths[1], {
|
||||||
...params,
|
...params,
|
||||||
_layout_path,
|
_layout_path,
|
||||||
defaultLayout: layout_path + "default.html",
|
defaultLayout: layout_path + "default.html",
|
||||||
|
Loading…
Reference in New Issue
Block a user