|
|
|
@ -107,7 +107,7 @@
|
|
|
|
|
<script lang="ts" setup>
|
|
|
|
|
import { CheckAppInstalled, InstalledOp } from '@/api/modules/app';
|
|
|
|
|
import router from '@/routers';
|
|
|
|
|
import { onMounted, reactive, ref, watch } from 'vue';
|
|
|
|
|
import { onMounted, reactive, ref } from 'vue';
|
|
|
|
|
import Status from '@/components/status/index.vue';
|
|
|
|
|
import { ElMessageBox } from 'element-plus';
|
|
|
|
|
import i18n from '@/lang';
|
|
|
|
@ -125,21 +125,6 @@ const props = defineProps({
|
|
|
|
|
},
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
watch(
|
|
|
|
|
() => props.appKey,
|
|
|
|
|
(val) => {
|
|
|
|
|
key.value = val;
|
|
|
|
|
onCheck();
|
|
|
|
|
},
|
|
|
|
|
);
|
|
|
|
|
watch(
|
|
|
|
|
() => props.appName,
|
|
|
|
|
(val) => {
|
|
|
|
|
name.value = val;
|
|
|
|
|
onCheck();
|
|
|
|
|
},
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
let key = ref('');
|
|
|
|
|
let name = ref('');
|
|
|
|
|
|
|
|
|
@ -250,4 +235,8 @@ onMounted(() => {
|
|
|
|
|
name.value = props.appName;
|
|
|
|
|
onCheck();
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
defineExpose({
|
|
|
|
|
onCheck,
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|