update 优化 代码小问题
This commit is contained in:
@@ -11,7 +11,7 @@ interface Return {
|
||||
}
|
||||
export default (ops?: Options): Return => {
|
||||
const visible = ref(false);
|
||||
const title = ref(ops.title || '');
|
||||
const title = ref(ops?.title || '');
|
||||
|
||||
const openDialog = () => {
|
||||
visible.value = true;
|
||||
|
||||
Reference in New Issue
Block a user