forked from soybeanjs/soybean-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Vue] 备忘录 #4
Comments
状况错误1定义
尝试可用的方法:
错误2定义 const model = ref<T>(...)
const v1= computed<T>({
get: () => model.value.xxx,
set: value => {
model.value.xxx= value;
}
}); 报告类似下方的错误内容:
尝试可用的方法: const v1= computed<T>({
get: () => model.value.xxx as T,
set: value => {
model.value.xxx = value as UnwrapRef<T>;
}
}); 可能相关资料
遇到类似问题
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: