未验证 提交 1971d8b3 编写于 作者: A Amy0104 提交者: GitHub

[Fix][UI][V1.0.0-Beta] Fix the problem of packing failure. (#9962)

上级 316b6118
......@@ -39,7 +39,6 @@ export function renderRadio(item: IJsonItem, fields: { [field: string]: any }) {
() =>
h(NSpace, null, () =>
unref(options).map((option: IOption) =>
// @ts-ignore
h(NRadio, option, () => option.label)
)
)
......
......@@ -15,14 +15,7 @@
* limitations under the License.
*/
import { Ref } from 'vue'
import type {
GridProps,
FormProps,
FormItemRule,
FormRules,
SelectOption,
TreeSelectOption
} from 'naive-ui'
import type { GridProps, FormProps, FormItemRule, FormRules } from 'naive-ui'
type IType =
| 'input'
......@@ -38,7 +31,9 @@ type IType =
| 'custom'
| 'multi-condition'
type IOption = SelectOption | TreeSelectOption
interface IOption {
[key: string]: any
}
interface IFormItem {
showLabel?: boolean
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册