mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-24 09:41:17 +00:00
17 lines
404 B
JavaScript
17 lines
404 B
JavaScript
'use strict';
|
|
|
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
|
var vue = require('vue');
|
|
|
|
const useProp = (name) => {
|
|
const vm = vue.getCurrentInstance();
|
|
return vue.computed(() => {
|
|
var _a, _b;
|
|
return (_b = (_a = vm == null ? void 0 : vm.proxy) == null ? void 0 : _a.$props) == null ? void 0 : _b[name];
|
|
});
|
|
};
|
|
|
|
exports.useProp = useProp;
|
|
//# sourceMappingURL=index.js.map
|