<!--
|
* @Description:
|
* @version:
|
* @Author: chen jing wu
|
* @Date: 2023-04-27 11:15:23
|
* @LastEditors: chen jing wu
|
* @LastEditTime: 2023-05-08 11:04:56
|
-->
|
<template>
|
<template if:true={isPickList}>
|
<!-- <template if:true={isReadOnly}>
|
<lightning-combobox
|
name="progress"
|
variant="label-hidden"
|
value={value}
|
placeholder={value}
|
options={options}
|
onchange={handleChange} readonly="true"></lightning-combobox>
|
</template>
|
<template if:false={isReadOnly}>
|
<lightning-combobox
|
name="progress"
|
variant="label-hidden"
|
value={value}
|
placeholder="--无--"
|
options={options}
|
onchange={handleChange} ></lightning-combobox>
|
</template> -->
|
<template if:true={isRequired}>
|
<lightning-combobox
|
name="progress"
|
variant="label-hidden"
|
value={value}
|
placeholder="--无--"
|
options={options}
|
onchange={handleChange} readonly={isReadOnly} required></lightning-combobox>
|
</template>
|
<template if:false={isRequired}>
|
<lightning-combobox
|
name="progress"
|
variant="label-hidden"
|
value={value}
|
placeholder="--无--"
|
options={options}
|
onchange={handleChange} readonly={isReadOnly}></lightning-combobox>
|
</template>
|
|
</template>
|
</template>
|