parent
228c814f3d
commit
7ff2e48b84
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "media_player_client",
|
"name": "media_player_client",
|
||||||
"version": "1.4.21",
|
"version": "1.4.22",
|
||||||
"description": "A Quasar Framework app",
|
"description": "A Quasar Framework app",
|
||||||
"productName": "MediaPlayerClient",
|
"productName": "MediaPlayerClient",
|
||||||
"author": "fangxiang <fangxiang@cloudview.work>",
|
"author": "fangxiang <fangxiang@cloudview.work>",
|
||||||
|
|
|
@ -320,6 +320,8 @@ export default defineComponent({
|
||||||
},
|
},
|
||||||
showDialog(name: string, options: StringKeyValueEntity[] | null) {
|
showDialog(name: string, options: StringKeyValueEntity[] | null) {
|
||||||
show_dialog.value = true;
|
show_dialog.value = true;
|
||||||
|
signals.value = GlobalData.getInstance().signal_source;
|
||||||
|
|
||||||
if (options) {
|
if (options) {
|
||||||
datas.value = [];
|
datas.value = [];
|
||||||
if (options.length % 2) {
|
if (options.length % 2) {
|
||||||
|
@ -345,8 +347,8 @@ export default defineComponent({
|
||||||
_resolve = null;
|
_resolve = null;
|
||||||
}
|
}
|
||||||
_resolve = resolve;
|
_resolve = resolve;
|
||||||
|
|
||||||
show_dialog.value = true;
|
show_dialog.value = true;
|
||||||
|
signals.value = GlobalData.getInstance().signal_source;
|
||||||
if (options) {
|
if (options) {
|
||||||
datas.value = [];
|
datas.value = [];
|
||||||
|
|
||||||
|
|
|
@ -739,16 +739,11 @@ export default defineComponent({
|
||||||
switch (evt.type) {
|
switch (evt.type) {
|
||||||
case "polling":
|
case "polling":
|
||||||
{
|
{
|
||||||
if (signal_sources.length) {
|
client?.replaceWindow2(
|
||||||
const signal_source = signal_sources[0];
|
window.window_id,
|
||||||
if (signal_source) {
|
evt.data.uuid,
|
||||||
client?.replaceWindow2(
|
true
|
||||||
window.window_id,
|
);
|
||||||
evt.data.uuid,
|
|
||||||
true
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue