版博士V2.0程序
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

12345678910111213141516
  1. 'use strict';
  2. Object.defineProperty(exports, '__esModule', { value: true });
  3. var vue = require('vue');
  4. const useProp = (name) => {
  5. const vm = vue.getCurrentInstance();
  6. return vue.computed(() => {
  7. var _a, _b;
  8. return (_b = (_a = vm == null ? void 0 : vm.proxy) == null ? void 0 : _a.$props) == null ? void 0 : _b[name];
  9. });
  10. };
  11. exports.useProp = useProp;
  12. //# sourceMappingURL=index.js.map