Skip to content

Commit

Permalink
更新cheerio导入方式
Browse files Browse the repository at this point in the history
  • Loading branch information
CikeyQi authored Aug 31, 2024
1 parent 2c53e1e commit 3f94ed1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/pic_tools.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { pipeline } from "stream";
import plugin from '../../../lib/plugins/plugin.js'
import md5 from "md5";
import { bs64Size } from "./utils.js";
import cheerio from 'cheerio'
import * as cheerio from 'cheerio';
import FormData from 'form-data'
import QRCode from 'qrcode'

Expand Down Expand Up @@ -210,4 +210,4 @@ class Pictools extends plugin {
}
}

export default new Pictools
export default new Pictools

0 comments on commit 3f94ed1

Please sign in to comment.