Merge pull request '样式' (#5) from qiaopengfei into master

Reviewed-on: #5
This commit is contained in:
qiaopengfei 2024-07-01 15:53:37 +08:00
commit 1df345e012
4 changed files with 71 additions and 71 deletions

View File

@ -3,6 +3,7 @@ import App from '../src/App.vue'
//基于element组件封装引入element组件库
import { Input } from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(Input);
// 导入组件库

View File

@ -12,14 +12,14 @@
<slot name="suffix" slot="suffix" />
<slot name="prepend" slot="prepend" />
</el-input>
</template>
</template>
<script>
/**
/**
* WInput
* @desc 处理输入的输入框(转大写不能有中文空格等)
*/
export default {
export default {
name: "WInput",
props: {
width: {
@ -67,11 +67,9 @@
);
},
},
mounted() {
// console.warn(this.$route.name);
},
};
</script>
mounted() {},
};
</script>
<style lang="scss" scoped></style>

View File

@ -1,6 +1,6 @@
<template>
<div>
<Pedestal ref="ref_Pedestal" :options="options">
<Pedestal ref="ref_Pedestal" v-model="value">
<!-- <template #operate="">
<el-button
class="excel"
@ -22,6 +22,7 @@ export default {
components: { Pedestal },
data() {
return {
value: "",
options: {
fnSearch: this.fnSearch,
formItemAttrs: {

View File

@ -1,4 +1,4 @@
export default function cloneDeep(obj, hash = new WeakMap()) {
function cloneDeep(obj, hash = new WeakMap()) {
if (obj == null || typeof obj !== 'object') return obj
if (obj instanceof Date) return new Date(obj)
if (obj instanceof RegExp) return new RegExp(obj.source, obj.flags)