Browse Source

feet:solve

徐福静0235668 1 ngày trước cách đây
mục cha
commit
96d36d31d7
1 tập tin đã thay đổi với 7 bổ sung0 xóa
  1. 7 0
      src/app/pages/admin/system-settings/system-settings.ts

+ 7 - 0
src/app/pages/admin/system-settings/system-settings.ts

@@ -1,3 +1,10 @@
+// 扩展Window接口以包含echarts属性
+declare global {
+  interface Window {
+    echarts: any;
+  }
+}
+
 import { Component, OnInit, AfterViewInit, ViewChild, ElementRef } from '@angular/core';
 import { CommonModule } from '@angular/common';
 import { RouterModule } from '@angular/router';