mirror of
https://gitee.com/bootx/dax-pay-ui.git
synced 2025-09-05 19:58:20 +00:00
fix(component): 修复keep-alive组件包裹的文件onActivited不生效 (#2785)
* fix(table): 使用lodash 的merge来递归assign,优化在多对象嵌套情况下的结构 * fix(component): 修复keep-alive组件包裹的文件onActivited不生效
This commit is contained in:
@@ -11,7 +11,7 @@ import { configHtmlPlugin } from './html';
|
||||
import { configMockPlugin } from './mock';
|
||||
import { configSvgIconsPlugin } from './svgSprite';
|
||||
import { configVisualizerConfig } from './visualizer';
|
||||
|
||||
import vueSetupExtend from 'vite-plugin-vue-setup-extend';
|
||||
interface Options {
|
||||
isBuild: boolean;
|
||||
root: string;
|
||||
@@ -21,7 +21,12 @@ interface Options {
|
||||
}
|
||||
|
||||
async function createPlugins({ isBuild, root, enableMock, compress, enableAnalyze }: Options) {
|
||||
const vitePlugins: (PluginOption | PluginOption[])[] = [vue(), vueJsx(), DefineOptions()];
|
||||
const vitePlugins: (PluginOption | PluginOption[])[] = [
|
||||
vue(),
|
||||
vueJsx(),
|
||||
vueSetupExtend(),
|
||||
DefineOptions(),
|
||||
];
|
||||
|
||||
const appConfigPlugin = await createAppConfigPlugin({ root, isBuild });
|
||||
vitePlugins.push(appConfigPlugin);
|
||||
|
Reference in New Issue
Block a user