Compare commits
No commits in common. "1df345e01257696dffb362f548ccc0b3a8767d1a" and "5cf8ddeb545e546bab4b496ba72f81a951521b49" have entirely different histories.
1df345e012
...
5cf8ddeb54
|
@ -3,7 +3,6 @@ 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);
|
||||||
|
|
||||||
// 导入组件库
|
// 导入组件库
|
||||||
|
|
|
@ -12,14 +12,14 @@
|
||||||
<slot name="suffix" slot="suffix" />
|
<slot name="suffix" slot="suffix" />
|
||||||
<slot name="prepend" slot="prepend" />
|
<slot name="prepend" slot="prepend" />
|
||||||
</el-input>
|
</el-input>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
/**
|
/**
|
||||||
* WInput
|
* WInput
|
||||||
* @desc 处理输入的输入框(转大写,不能有中文空格等)
|
* @desc 处理输入的输入框(转大写,不能有中文空格等)
|
||||||
*/
|
*/
|
||||||
export default {
|
export default {
|
||||||
name: "WInput",
|
name: "WInput",
|
||||||
props: {
|
props: {
|
||||||
width: {
|
width: {
|
||||||
|
@ -67,9 +67,11 @@ export default {
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
mounted() {},
|
mounted() {
|
||||||
};
|
// console.warn(this.$route.name);
|
||||||
</script>
|
},
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped></style>
|
<style lang="scss" scoped></style>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<Pedestal ref="ref_Pedestal" v-model="value">
|
<Pedestal ref="ref_Pedestal" :options="options">
|
||||||
<!-- <template #operate="">
|
<!-- <template #operate="">
|
||||||
<el-button
|
<el-button
|
||||||
class="excel"
|
class="excel"
|
||||||
|
@ -22,7 +22,6 @@ export default {
|
||||||
components: { Pedestal },
|
components: { Pedestal },
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
value: "",
|
|
||||||
options: {
|
options: {
|
||||||
fnSearch: this.fnSearch,
|
fnSearch: this.fnSearch,
|
||||||
formItemAttrs: {
|
formItemAttrs: {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
function cloneDeep(obj, hash = new WeakMap()) {
|
export default 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)
|
||||||
|
|
Loading…
Reference in New Issue