mirror of
https://github.com/koush/scrypted.git
synced 2026-02-12 10:02:04 +00:00
24 lines
432 B
Vue
24 lines
432 B
Vue
<template>
|
|
<span>
|
|
<v-btn v-if='device' text color="green" @click='run'>Run Program</v-btn>
|
|
</span>
|
|
</template>
|
|
|
|
<script>
|
|
import RPCInterface from './RPCInterface.vue'
|
|
|
|
export default {
|
|
mixins: [RPCInterface],
|
|
methods: {
|
|
onChange() {
|
|
this.run();
|
|
},
|
|
run: function() {
|
|
this.rpc({
|
|
varargs: true,
|
|
}).run();
|
|
},
|
|
}
|
|
};
|
|
</script>
|