123456789101112131415161718192021222324 |
- <template>
- <div>
- <el-input style="width: 100%;" :readonly="true" :value="value"></el-input>
- </div>
- </template>
- <script lang="ts">
- import { Component, Prop, Vue, Watch, Mixins } from "vue-property-decorator";
- @Component
- export default class Financial extends Vue {
- @Prop()
- propValue : any
- value : any = ''
- @Watch('propValue')
- propValueChange(v : any) {
- v === 0 ? this.value = '是' : this.value = '否';
- };
- created() {
- }
- }
- </script>
- <style>
- </style>
|