Commit aa6e4f26 authored by nanahira's avatar nanahira

fix readme

parent bf0dad66
...@@ -148,11 +148,11 @@ export interface PicSourceInfo { ...@@ -148,11 +148,11 @@ export interface PicSourceInfo {
```ts ```ts
export class PicSourceConfig { export class PicSourceConfig {
@DefineSchema({ type: 'string', isDefault: [], desc: '图源标签' }) @DefineSchema({ type: 'string', default: [], desc: '图源标签' })
tags: string[]; tags: string[];
@DefineSchema({ isDefault: 1, desc: '图源权重' }) @DefineSchema({ default: 1, desc: '图源权重' })
weight: number; weight: number;
@DefineSchema({ isDefault: 1, desc: '图源名称', required: true }) @DefineSchema({ default: 1, desc: '图源名称', required: true })
name: string; name: string;
@DefineSchema({ desc: '图源描述' }) @DefineSchema({ desc: '图源描述' })
description?: string; description?: string;
......
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