-
Some contents...
-
Some contents...
-
Some contents...
+
+
+
+
+
+
+
+
+
+ {{ title.substr(0, title.indexOf(searchValue)) }}
+ {{ searchValue }}
+ {{ title.substr(title.indexOf(searchValue) + searchValue.length) }}
+
+ {{ title }}
+
+
+
+
2
@@ -24,6 +67,7 @@
// 处理确定按钮的逻辑
console.log('点击了确定按钮');
};
+ const searchValue = ref
('');
const getData = () => {
show.value = true;
};
@@ -38,6 +82,7 @@
handleOk,
show,
getData,
+ searchValue,
handleCancel,
};
},