@vunk/plus 1.9.1 → 1.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4199,17 +4199,17 @@ var _sfc_main = defineComponent({
|
|
|
4199
4199
|
return theData.value.find((item) => item.status === ParagraphStatus.pending);
|
|
4200
4200
|
});
|
|
4201
4201
|
watch(() => props2.status, () => {
|
|
4202
|
+
if (props2.status === TickerStatus.stop) {
|
|
4203
|
+
theData.value.forEach((item) => {
|
|
4204
|
+
item.broadcast = Broadcast.stop;
|
|
4205
|
+
});
|
|
4206
|
+
}
|
|
4202
4207
|
if (!currentPragraph.value) {
|
|
4203
4208
|
return;
|
|
4204
4209
|
}
|
|
4205
4210
|
if (currentPragraph.value.broadcast !== props2.status) {
|
|
4206
4211
|
currentPragraph.value.broadcast = props2.status;
|
|
4207
4212
|
}
|
|
4208
|
-
if (props2.status === TickerStatus.stop) {
|
|
4209
|
-
theData.value.forEach((item) => {
|
|
4210
|
-
item.broadcast = Broadcast.stop;
|
|
4211
|
-
});
|
|
4212
|
-
}
|
|
4213
4213
|
}, { immediate: true });
|
|
4214
4214
|
function handleParagraphStatus(para, v) {
|
|
4215
4215
|
if (para.status === ParagraphStatus.pending) {
|
|
@@ -215,7 +215,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
215
215
|
withDirectives(createVNode($setup["VkSender"], {
|
|
216
216
|
modelValue: $setup.content,
|
|
217
217
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $setup.content = $event),
|
|
218
|
-
"auto-size": true,
|
|
219
218
|
placeholder: "\u8BF7\u8F93\u5165\u5185\u5BB9",
|
|
220
219
|
"send-disabled": $setup.senderDisabled,
|
|
221
220
|
loading: $setup.clientLoading,
|