feat(oidc): 接入统一认证登录与身份自助绑定
- 登录页接入统一认证入口并处理认证回调 - 个人中心新增认证身份区块,支持自助绑定与解绑 - 头像菜单与应用中心新增认证身份入口 - 应用中心删除经营管理分组,业务系统卡片指向统一认证授权地址 - 用户管理页移除认证身份代绑入口与弹窗 - 身份关联接口从用户域移到认证域
This commit is contained in:
1 parent
9cddb95fb7
commit
b5bacd2cbf
205 files changed
+6705
-7079
No files matched your search
@@ -101,7 +101,9 @@ const emit = defineEmits<{
|
||||
const chartRef = useTemplateRef<HTMLDivElement>("chart");
|
||||
const chartInstance = ref<EChartsType>();
|
||||
|
||||
/** 初始化图表实例 */
|
||||
/**
|
||||
* 初始化图表实例
|
||||
*/
|
||||
const init = async () => {
|
||||
await nextTick();
|
||||
if (!chartRef.value) return;
|
||||
@@ -110,25 +112,28 @@ const init = async () => {
|
||||
if (!chartInstance.value) {
|
||||
chartInstance.value = markRaw(
|
||||
echarts.init(chartRef.value, theme, {
|
||||
renderer: "canvas", // 指定渲染模式(canvas性能更好)
|
||||
renderer: "canvas",
|
||||
})
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
/** 初始化配置(清空后设置) */
|
||||
/**
|
||||
* 初始化配置(清空后设置)
|
||||
*/
|
||||
const initOptions = async (options: EChartsOption) => {
|
||||
await nextTick();
|
||||
chartInstance.value?.clear(); // 清空旧配置
|
||||
chartInstance.value?.setOption(options); // 应用新配置
|
||||
chartInstance.value?.clear();
|
||||
chartInstance.value?.setOption(options);
|
||||
emit("onload", chartInstance.value!);
|
||||
};
|
||||
|
||||
/** 更新图表配置(增量更新) */
|
||||
/**
|
||||
* 更新图表配置(增量更新)
|
||||
*/
|
||||
const updateCharts = async (options: EChartsOption) => {
|
||||
await nextTick();
|
||||
chartInstance.value?.setOption(options);
|
||||
// chartInstance.value?.hideLoading();
|
||||
};
|
||||
|
||||
onMounted(() => init());
|
||||
|
||||
Reference in new issue
Block a user