Skip to content

Commit

Permalink
fix(checkbox): loadsh进行按需引入 (#1778)
Browse files Browse the repository at this point in the history
  • Loading branch information
GreatZPP authored Jan 11, 2024
1 parent c767cfb commit a7065c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/devui-vue/devui/editor-md/src/plugins/checkbox.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as _ from 'lodash';
import { extend } from 'lodash';

const checkboxReplace = function (md: any, options: any) {
let lastId: number;
Expand All @@ -9,7 +9,7 @@ const checkboxReplace = function (md: any, options: any) {
divClass: 'checkbox',
idPrefix: 'checkbox',
};
options = _.extend(defaults, options);
options = extend(defaults, options);
const pattern = /\[(X|\s|\_|\-)\]\s(.*)/i;
const createTokens = function (checked: any, label: any, Token: any) {
let token;
Expand Down

0 comments on commit a7065c5

Please sign in to comment.