: update

This commit is contained in:
就眠儀式 2022-06-26 17:22:21 +08:00
parent 97a4b14e08
commit 60c1dbff95
7 changed files with 14 additions and 34 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@layui/layui-vue",
"version": "1.2.2",
"version": "1.2.3",
"author": "就眠儀式",
"license": "MIT",
"description": "a component library for Vue 3 base on layui-vue",

View File

@ -24,16 +24,6 @@ export default (): UserConfigExport => {
formats: ["es"],
fileName: (name) => `index.js`,
},
terserOptions: {
compress: {
drop_console: true,
drop_debugger: true,
pure_funcs: ["console.log"],
},
output: {
comments: true,
},
},
rollupOptions: {
output: {
globals: {

View File

@ -36,6 +36,7 @@ const matchModule: string[] = [
"button",
"tooltip",
"page",
"scroll"
];
export default (): UserConfigExport => {
@ -66,16 +67,6 @@ export default (): UserConfigExport => {
entry: resolve(process.cwd(), "./src/index.ts"),
formats: ["es"],
},
terserOptions: {
compress: {
drop_console: true,
drop_debugger: true,
pure_funcs: ["console.log"],
},
output: {
comments: true,
},
},
rollupOptions: {
input: inputs,
output: {

View File

@ -24,16 +24,6 @@ export default (): UserConfigExport => {
formats: ["umd"],
fileName: (name) => `index.js`,
},
terserOptions: {
compress: {
drop_console: true,
drop_debugger: true,
pure_funcs: ["console.log"],
},
output: {
comments: true,
},
},
rollupOptions: {
output: {
globals: {

View File

@ -166,7 +166,6 @@ class Tree {
if (node.children) {
this.setChildrenChecked(checked, node.children);
}
//console.log(this.getData());
}
getData() {

View File

@ -15,7 +15,7 @@
<a
class="online-edit"
:href="
'https://github.com/layui/layui-vue/edit/next/package/document/src/document/zh-CN/components/' +
'https://github.com/layui/layui-vue/edit/next/package/document-component/src/document/zh-CN/components/' +
filePath +
'.md'
"
@ -40,7 +40,7 @@ const props = withDefaults(defineProps<LayContributor>(), {
const suffix = ".md";
const githubAPI =
"https://api.github.com/repos/layui/layui-vue/commits?path=/package/document/src/document/zh-CN/components/";
"https://api.github.com/repos/layui/layui-vue/commits?path=/package/document-component/src/document/zh-CN/components/";
const contributors: Ref<any> = ref([]);
var compare = function (x: any, y: any) {

View File

@ -11,6 +11,16 @@
<template>
<lay-timeline>
<lay-timeline-item title="1.2.x">
<ul>
<a name="1-2-3"></a>
<li>
<h3>1.2.3 <span class="layui-badge-rim">2022-06-26</span></h3>
<ul>
<li>[新增] select 组件 多选模式下 的搜索功能。 </li>
<li>[修复] scroll 组件 按需加载时 index.css 不存在的问题。</li>
</ul>
</li>
</ul>
<ul>
<a name="1-2-2"></a>
<li>