Skip to content

Commit

Permalink
更新 form-create 版本
Browse files Browse the repository at this point in the history
  • Loading branch information
xaboy committed May 31, 2020
1 parent 71e1942 commit fc21156
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/UI/Elm/Bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function init(Form $form)
array_splice($dependScript, 2, 0, [
'<link href="https://unpkg.com/[email protected]/lib/theme-chalk/index.css" rel="stylesheet">',
'<script src="https://unpkg.com/[email protected]/lib/index.js"></script>',
'<script src="https://unpkg.com/@form-create/[email protected].9/dist/form-create.min.js"></script>',
'<script src="https://unpkg.com/@form-create/[email protected].15/dist/form-create.min.js"></script>',
]);

$form->setDependScript($dependScript);
Expand Down
4 changes: 2 additions & 2 deletions src/UI/Iview/Bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ public function init(Form $form)
array_splice($dependScript, 2, 0, [
'<link href="https://unpkg.com/[email protected]/dist/styles/iview.css" rel="stylesheet">',
'<script src="https://unpkg.com/[email protected]/dist/iview.min.js"></script>',
'<script src="https://unpkg.com/@form-create/[email protected].9/dist/form-create.min.js"></script>',
'<script src="https://unpkg.com/@form-create/[email protected].15/dist/form-create.min.js"></script>',
]);
} else {
array_splice($dependScript, 2, 0, [
'<link href="https://unpkg.com/[email protected]/dist/styles/iview.css" rel="stylesheet">',
'<script src="https://unpkg.com/[email protected]/dist/iview.min.js"></script>',
'<script src="https://unpkg.com/@form-create/[email protected].9/dist/form-create.min.js"></script>',
'<script src="https://unpkg.com/@form-create/[email protected].15/dist/form-create.min.js"></script>',
]);
}

Expand Down

0 comments on commit fc21156

Please sign in to comment.