chore: desc

This commit is contained in:
dap
2024-09-12 10:06:11 +08:00
parent 8557a31ea1
commit 8e973dd8bc
2 changed files with 7 additions and 3 deletions

View File

@@ -18,9 +18,9 @@ export function useDescription(
const loaded = ref(false);
function register(instance: DescInstance) {
if (unref(loaded)) {
return;
}
// if (unref(loaded) && import.meta.env.PROD) {
// return;
// }
desc.value = instance;
props && instance.setDescProps(props);
loaded.value = true;