mirror of https://github.com/certd/certd
				
				
				
			chore: doc
							parent
							
								
									b454e02d01
								
							
						
					
					
						commit
						c7f2ead696
					
				| 
						 | 
				
			
			@ -145,6 +145,7 @@ export function createAxiosService({ logger }: { logger: Logger }) {
 | 
			
		|||
      } else {
 | 
			
		||||
        logger.info("http response status:", response?.status);
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      if (response?.config?.returnOriginRes) {
 | 
			
		||||
        return response;
 | 
			
		||||
      }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,6 +8,8 @@ export abstract class AbstractDnsProvider<T = any> implements IDnsProvider<T> {
 | 
			
		|||
  logger!: ILogger;
 | 
			
		||||
 | 
			
		||||
  usePunyCode(): boolean {
 | 
			
		||||
    //是否使用punycode来添加解析记录
 | 
			
		||||
    //默认都使用原始中文域名来添加
 | 
			
		||||
    return false;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -69,6 +69,9 @@ onMounted(async () => {
 | 
			
		|||
      <div class="hover:bg-accent ml-1 mr-2 cursor-pointer rounded-full">
 | 
			
		||||
        <vip-button class="flex-center header-btn" mode="nav" />
 | 
			
		||||
      </div>
 | 
			
		||||
      <div class="hover:bg-accent ml-1 mr-2 cursor-pointer rounded-full">
 | 
			
		||||
        <fs-icon icon="ion:logo-github" />
 | 
			
		||||
      </div>
 | 
			
		||||
    </template>
 | 
			
		||||
    <template #footer>
 | 
			
		||||
      <PageFooter></PageFooter>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -35,7 +35,7 @@ interface Props {
 | 
			
		|||
  /**
 | 
			
		||||
   * 菜单数组
 | 
			
		||||
   */
 | 
			
		||||
  menus?: Array<{ handler: AnyFunction; icon?: Component; text: string }>;
 | 
			
		||||
  menus?: Array<{ handler: AnyFunction; icon?: Component | string; text: string }>;
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * 标签文本
 | 
			
		||||
| 
						 | 
				
			
			@ -52,7 +52,7 @@ interface Props {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
defineOptions({
 | 
			
		||||
  name: "UserDropdown"
 | 
			
		||||
  name: "UserDropdown",
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
const props = withDefaults(defineProps<Props>(), {
 | 
			
		||||
| 
						 | 
				
			
			@ -64,7 +64,7 @@ const props = withDefaults(defineProps<Props>(), {
 | 
			
		|||
  tagText: "",
 | 
			
		||||
  text: "",
 | 
			
		||||
  trigger: "click",
 | 
			
		||||
  hoverDelay: 500
 | 
			
		||||
  hoverDelay: 500,
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
const emit = defineEmits<{ logout: [] }>();
 | 
			
		||||
| 
						 | 
				
			
			@ -72,12 +72,12 @@ const emit = defineEmits<{ logout: [] }>();
 | 
			
		|||
const { globalLockScreenShortcutKey, globalLogoutShortcutKey } = usePreferences();
 | 
			
		||||
const lockStore = useLockStore();
 | 
			
		||||
const [LockModal, lockModalApi] = useVbenModal({
 | 
			
		||||
  connectedComponent: LockScreenModal
 | 
			
		||||
  connectedComponent: LockScreenModal,
 | 
			
		||||
});
 | 
			
		||||
const [LogoutModal, logoutModalApi] = useVbenModal({
 | 
			
		||||
  onConfirm() {
 | 
			
		||||
    handleSubmitLogout();
 | 
			
		||||
  }
 | 
			
		||||
  },
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
const refTrigger = useTemplateRef("refTrigger");
 | 
			
		||||
| 
						 | 
				
			
			@ -86,7 +86,7 @@ const [openPopover, hoverWatcher] = useHoverToggle([refTrigger, refContent], ()
 | 
			
		|||
 | 
			
		||||
watch(
 | 
			
		||||
  () => props.trigger === "hover" || props.trigger === "both",
 | 
			
		||||
  (val) => {
 | 
			
		||||
  val => {
 | 
			
		||||
    if (val) {
 | 
			
		||||
      hoverWatcher.enable();
 | 
			
		||||
    } else {
 | 
			
		||||
| 
						 | 
				
			
			@ -94,7 +94,7 @@ watch(
 | 
			
		|||
    }
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    immediate: true
 | 
			
		||||
    immediate: true,
 | 
			
		||||
  }
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -11,6 +11,7 @@ import { AliyunAccess, AliyunClient } from '@certd/plugin-lib';
 | 
			
		|||
  order:0,
 | 
			
		||||
})
 | 
			
		||||
export class AliyunDnsProvider extends AbstractDnsProvider {
 | 
			
		||||
 | 
			
		||||
  client: any;
 | 
			
		||||
  async onInstance() {
 | 
			
		||||
    const access: AliyunAccess = this.ctx.access as AliyunAccess
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue