Migrate users' projects from Wot UI v1 to v2. This skill is invoked when users request to upgrade wot-design-uni to @wot-ui/ui, replace old components/old APIs, migrate form validation systems, and fix compilation errors or runtime errors caused by incompatible changes in v2.
(theme file import, global variable override, ConfigProvider, style override priority, dark mode). Proceed to Phase 7 regression verification after reading.
Phase 7: Regression Verification
Can it compile normally on H5 and target mini program platforms?
Can
easycom
correctly parse all
wd-*
components?
Have functional calls like
Toast
,
Dialog
,
Notify
been declared as instances in pages?
Are form submission, single-field validation, reset, hidden fields and asynchronous validation working normally?
Are the echo text and submission value of picker-type form items correct?
Do
Button
's
type
,
variant
,
round
and height meet expectations?
Has
Tag
's
variant
been migrated from
plain
?
Have
Radio
/
Checkbox
's
shape
,
inline
,
cell
been migrated?
Has
Search
's
light
been migrated to
variant="light"
?
Has
GridItem
's click event been migrated from
itemclick
to
click
?
Have form-related properties of
Cell
,
Input
,
Textarea
been migrated to
wd-form-item
?
Can instance methods like
PickerView
,
ImgCropper
,
CountTo
still be called normally?
Have old properties of
Badge
,
Slider
,
Tabs
,
Steps
,
Swiper
been migrated?
Does
Dialog
's mask click to close, Prompt return value and button configuration meet expectations?
Are dark mode, theme variables, and brand color override taking effect?
Are there style isolation issues with pop-ups on mini program platforms?
Do custom override styles still take effect?
Do icon names still exist, and does button height change affect page layout?