|
@ -1,7 +1,7 @@ |
|
|
import html from "html"; |
|
|
import html from "html"; |
|
|
import { ref, reactive, watch, onMounted } from "vue"; |
|
|
import { ref, reactive, watch, onMounted } from "vue"; |
|
|
import { dayjs } from "element-plus"; |
|
|
import { dayjs } from "element-plus"; |
|
|
import request, { post } from "../../request/index.js"; |
|
|
import request from "../../request/index.js"; |
|
|
import { importFunction } from "../../utils/index.js"; |
|
|
import { importFunction } from "../../utils/index.js"; |
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
@ -127,6 +127,9 @@ export default { |
|
|
value: o[props.schema.value], |
|
|
value: o[props.schema.value], |
|
|
label: o[props.schema.label], |
|
|
label: o[props.schema.label], |
|
|
})); |
|
|
})); |
|
|
|
|
|
if (!props.schema.selected && options.value.length) { |
|
|
|
|
|
model[props.prop] = options.value[0].value; |
|
|
|
|
|
} |
|
|
} catch (error) { |
|
|
} catch (error) { |
|
|
console.log(error); |
|
|
console.log(error); |
|
|
} |
|
|
} |
|
|