mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-17 05:37:46 +00:00
render
This commit is contained in:
parent
e166e0e185
commit
d0e73ff00c
12 changed files with 105 additions and 31 deletions
|
|
@ -1,9 +1,8 @@
|
|||
import { ZZZPlugin } from '../lib/plugin.js';
|
||||
import render from '../lib/render.js';
|
||||
import { rulePrefix } from '../lib/common.js';
|
||||
import { ZZZIndexResp } from '../model/index.js';
|
||||
import settings from '../lib/settings.js';
|
||||
import _ from 'lodash';
|
||||
import { rulePrefix } from '../lib/common.js';
|
||||
|
||||
export class Card extends ZZZPlugin {
|
||||
constructor() {
|
||||
|
|
@ -46,6 +45,6 @@ export class Card extends ZZZPlugin {
|
|||
const data = {
|
||||
card: finalIndexData,
|
||||
};
|
||||
await render(this.e, 'card/index.html', data);
|
||||
await this.render('card/index.html', data);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue