增加admin管理帐号和项目的界面--初步实现

This commit is contained in:
Cheng Zhou
2025-12-17 20:12:49 +08:00
parent 4f50237f56
commit c074c2b5bc
18933 changed files with 2088454 additions and 63 deletions
+17
View File
@@ -0,0 +1,17 @@
import { watch, unref } from 'vue';
import { debugWarn } from '../../utils/error.mjs';
const useDeprecated = ({ from, replacement, scope, version, ref, type = "API" }, condition) => {
watch(() => unref(condition), (val) => {
if (val) {
debugWarn(scope, `[${type}] ${from} is about to be deprecated in version ${version}, please use ${replacement} instead.
For more detail, please visit: ${ref}
`);
}
}, {
immediate: true
});
};
export { useDeprecated };
//# sourceMappingURL=index.mjs.map