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组件库 //基于element组件封装引入element组件库
import { Input } from 'element-ui'; import { Input } from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(Input); Vue.use(Input);
// 导入组件库 // 导入组件库

View File

@ -67,9 +67,7 @@
); );
}, },
}, },
mounted() { mounted() {},
// console.warn(this.$route.name);
},
}; };
</script> </script>

View File

@ -1,6 +1,6 @@
<template> <template>
<div> <div>
<Pedestal ref="ref_Pedestal" :options="options"> <Pedestal ref="ref_Pedestal" v-model="value">
<!-- <template #operate=""> <!-- <template #operate="">
<el-button <el-button
class="excel" class="excel"
@ -22,6 +22,7 @@ export default {
components: { Pedestal }, components: { Pedestal },
data() { data() {
return { return {
value: "",
options: { options: {
fnSearch: this.fnSearch, fnSearch: this.fnSearch,
formItemAttrs: { 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 == null || typeof obj !== 'object') return obj
if (obj instanceof Date) return new Date(obj) if (obj instanceof Date) return new Date(obj)
if (obj instanceof RegExp) return new RegExp(obj.source, obj.flags) if (obj instanceof RegExp) return new RegExp(obj.source, obj.flags)