<!-- 搜索表单 -->
<template>
  <a-space style="flex-wrap: wrap">
    <a-button
      type="text"
      @click="openUrl(`/assets/template-all`)"
    >全部
    </a-button>
    <a-button
      type="text"
      @click="openUrl(`/assets/template-10257`)"
    >云·企业官网
    </a-button>
    <a-button
      type="text"
      @click="openUrl('/assets/template-10258')"
    >小程序开发
    </a-button>
    <a-button
      type="text"
      @click="openUrl('/assets/template-10409')"
    >企业商城
    </a-button
    >
    <a-button
      type="text"
      @click="openUrl('/assets/template-10411')"
    >OA办公协同
    </a-button
    >
    <a-button
      type="text"
      @click="openUrl(`/assets/template-official`)"
    >官方
    </a-button>
  </a-space>
</template>

<script lang="ts" setup>
import {watch,nextTick} from 'vue';
import {CmsWebsite} from '@/api/cms/cmsWebsite/model';
import {openUrl} from "@/utils/common";

const props = withDefaults(
  defineProps<{
    // 选中的角色
    selection?: [];
    website?: CmsWebsite;
    count?: 0;
  }>(),
  {}
);

nextTick(() => {
  if(localStorage.getItem('NotActive')){
    // IsActive.value = false
  }
})

watch(
  () => props.selection,
  () => {
  }
);
</script>
