2
This commit is contained in:
11
normal-admin/node_modules/element-plus/es/hooks/use-deprecated/index.mjs
generated
vendored
Normal file
11
normal-admin/node_modules/element-plus/es/hooks/use-deprecated/index.mjs
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
import { watch, unref } from 'vue';
|
||||
|
||||
const useDeprecated = ({ from, replacement, scope, version, ref, type = "API" }, condition) => {
|
||||
watch(() => unref(condition), (val) => {
|
||||
}, {
|
||||
immediate: true
|
||||
});
|
||||
};
|
||||
|
||||
export { useDeprecated };
|
||||
//# sourceMappingURL=index.mjs.map
|
||||
Reference in New Issue
Block a user