UNPKG

tdesign-mobile-vue

Version:
20 lines (15 loc) 453 B
/** * tdesign v1.9.3 * (c) 2025 TDesign Group * @license MIT */ 'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); function template(str, vars) { return str.replace(/\${(.*?)}/g, function (_, prop) { var _vars$prop$trim; return (_vars$prop$trim = vars[prop.trim()]) !== null && _vars$prop$trim !== void 0 ? _vars$prop$trim : ""; }); } exports.template = template; //# sourceMappingURL=stringTemplate.js.map