<template>
  <el-row>
    <el-col :span="1.5">
      <el-switch v-model="compulsion" active-text="强制性"/>
      <el-button type="primary" @click="installPlugin(compulsion)">安装插件</el-button>
    </el-col>
    <el-col :span="1.5">
      <el-button type="primary" @click="saveConfig()">保存配置</el-button>
    </el-col>
    <el-col :span="1.5">
      <el-button type="primary" @click="updateServerShopApiConfig()">更新配置</el-button>
    </el-col>
  </el-row>
</template>
<script setup lang="ts">
import {installPlugin, saveConfig, updateServerShopApiConfig} from "../../api/FileApi";

let compulsion = ref(false)


</script>
<style scoped>

</style>