1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- Component({
-
- properties: {
-
- list: {
- type: Array,
- value: []
- },
-
- labelKey: {
- type: String,
- value: null
- },
-
- valueKey: {
- type: String,
- value: 'id'
- },
-
- value: null,
- isAudit:{
- type:Boolean,
- value:false
- }
- },
-
- data: {
- },
- lifetimes: {
- attached() {
- const { value } = this.data;
- if (value != null ) {
- this.triggerEvent('change', value)
- }
- },
- },
-
- methods: {
- onChange(e) {
- this.triggerEvent('change', e.detail)
- }
- }
- })
|