feat: 更新 App.vue 模板,合并对话框和提示组件的渲染
This commit is contained in:
@ -8,7 +8,5 @@ const VITE_BUILD_COMMIT = import.meta.env.VITE_BUILD_COMMIT;
|
|||||||
</div>
|
</div>
|
||||||
<RouterView />
|
<RouterView />
|
||||||
|
|
||||||
<DynamicDialog />
|
<DynamicDialog /> <ConfirmDialog /> <Toast />
|
||||||
<ConfirmDialog></ConfirmDialog>
|
|
||||||
<Toast />
|
|
||||||
</template>
|
</template>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* 需要把 <Toast /> 放在 App.vue 的 template 中
|
* 需要把 <DynamicDialog /> <ConfirmDialog /> <Toast /> 放在 App.vue 的 template 中
|
||||||
*/
|
*/
|
||||||
import '../assets/reset-primevue.css';
|
import '../assets/reset-primevue.css';
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user