update
This commit is contained in:
@@ -7,6 +7,10 @@ const input = ref('');
|
||||
|
||||
const changeInput = (e) => {
|
||||
if (e.match(/#(\S+?)(?=\s)/g)) {
|
||||
if (modelValue.value === void 0) {
|
||||
console.log('进来了')
|
||||
}
|
||||
console.log(modelValue.value)
|
||||
modelValue.value.push(...e.match(/#(\S+?)(?=\s)/g).map(tag => tag.slice(1)));
|
||||
input.value = null;
|
||||
nextTick(() => {
|
||||
|
||||
Reference in New Issue
Block a user