仿互站小程序

This commit is contained in:
Drawfans
2020-06-09 16:17:23 +08:00
commit 7bfd53851e
321 changed files with 22890 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
Object.defineProperty(exports, "__esModule", {
value: !0
}), exports.observe = function(o, t) {
var s = o.watch, i = o.computed;
if (t.behaviors.push(e.behavior), s) {
var p = t.properties || {};
Object.keys(s).forEach(function(e) {
if (e in p) {
var r = p[e];
null !== r && "type" in r || (r = {
type: r
}), r.observer = s[e], p[e] = r;
}
}), t.properties = p;
}
i && (t.methods = t.methods || {}, t.methods.$options = function() {
return o;
}, t.properties && (0, r.observeProps)(t.properties));
};
var e = require("./behavior"), r = require("./props");