: 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", "name": "@layui/layui-vue",
"version": "1.2.2", "version": "1.2.3",
"author": "就眠儀式", "author": "就眠儀式",
"license": "MIT", "license": "MIT",
"description": "a component library for Vue 3 base on layui-vue", "description": "a component library for Vue 3 base on layui-vue",

View File

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

View File

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

View File

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

View File

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

View File

@ -15,7 +15,7 @@
<a <a
class="online-edit" class="online-edit"
:href=" :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 + filePath +
'.md' '.md'
" "
@ -40,7 +40,7 @@ const props = withDefaults(defineProps<LayContributor>(), {
const suffix = ".md"; const suffix = ".md";
const githubAPI = 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([]); const contributors: Ref<any> = ref([]);
var compare = function (x: any, y: any) { var compare = function (x: any, y: any) {

View File

@ -11,6 +11,16 @@
<template> <template>
<lay-timeline> <lay-timeline>
<lay-timeline-item title="1.2.x"> <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> <ul>
<a name="1-2-2"></a> <a name="1-2-2"></a>
<li> <li>