Initial commit - full huishou project

This commit is contained in:
jiapengyu
2026-07-27 14:07:26 +08:00
commit 60790ad1b3
39127 changed files with 5989265 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.rewriteSelfKey = exports.isSelfKey = void 0;
const compiler_core_1 = require("@vue/compiler-core");
function isSelfKey({ arg, exp }, vFor) {
return (vFor &&
arg &&
exp &&
arg.type === compiler_core_1.NodeTypes.SIMPLE_EXPRESSION &&
arg.content === 'key' &&
exp.type === compiler_core_1.NodeTypes.SIMPLE_EXPRESSION &&
exp.content === vFor.valueAlias);
}
exports.isSelfKey = isSelfKey;
function rewriteSelfKey(dir) {
;
dir.exp.content = '*this';
}
exports.rewriteSelfKey = rewriteSelfKey;