import { watch as c } from "vue";
import { cloneDeep as i, isEqual as m } from "lodash";
const u = (e, o) => {
  c(
    () => i(e.sources),
    (t, r) => {
      m(t, r) || o(e.option);
    },
    {
      deep: !0
    }
  );
};
export {
  u as useWatch
};
