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,17 +739,12 @@ export default defineComponent({
|
||||||
switch (evt.type) {
|
switch (evt.type) {
|
||||||
case "polling":
|
case "polling":
|
||||||
{
|
{
|
||||||
if (signal_sources.length) {
|
|
||||||
const signal_source = signal_sources[0];
|
|
||||||
if (signal_source) {
|
|
||||||
client?.replaceWindow2(
|
client?.replaceWindow2(
|
||||||
window.window_id,
|
window.window_id,
|
||||||
evt.data.uuid,
|
evt.data.uuid,
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case "signal_source":
|
case "signal_source":
|
||||||
|
|
Loading…
Reference in New Issue