Compare commits

..

No commits in common. "7e881d32475b64ccd303ae57207253d7253e9bbe" and "3f5a288b976deeeb3a98863365e20927d3ceed73" have entirely different histories.

6 changed files with 5 additions and 22 deletions

View File

@ -103,13 +103,10 @@ const _sfc_main = defineComponent({
const isPassword = computed(() => type.value == "password"); const isPassword = computed(() => type.value == "password");
const composing = ref(false); const composing = ref(false);
const formatMoney = function(s) { const formatMoney = function(s) {
if (s == "") {
return "";
}
var noNegative = true; var noNegative = true;
s = parseFloat((s + "").replace(/[^\d\.-]/g, "")) + ""; s = parseFloat((s + "").replace(/[^\d\.-]/g, "")) + "";
if (parseFloat(s) < 0) { if (parseFloat(s) < 0) {
s = Math.abs(parseFloat(s)) + ""; s = Math.abs(s) + "";
noNegative = false; noNegative = false;
} }
var l = s.split(".")[0].split("").reverse(), r = s.split(".")[1]; var l = s.split(".")[0].split("").reverse(), r = s.split(".")[1];

View File

@ -1000,8 +1000,6 @@ const _sfc_main = defineComponent({
nextTick(() => { nextTick(() => {
getScrollWidth(); getScrollWidth();
}); });
}, {
deep: true
}); });
onMounted(() => { onMounted(() => {
var _a, _b; var _a, _b;

View File

@ -11227,13 +11227,10 @@ const _sfc_main$1v = defineComponent({
const isPassword = computed$1(() => type4.value == "password"); const isPassword = computed$1(() => type4.value == "password");
const composing = ref(false); const composing = ref(false);
const formatMoney = function(s) { const formatMoney = function(s) {
if (s == "") {
return "";
}
var noNegative = true; var noNegative = true;
s = parseFloat((s + "").replace(/[^\d\.-]/g, "")) + ""; s = parseFloat((s + "").replace(/[^\d\.-]/g, "")) + "";
if (parseFloat(s) < 0) { if (parseFloat(s) < 0) {
s = Math.abs(parseFloat(s)) + ""; s = Math.abs(s) + "";
noNegative = false; noNegative = false;
} }
var l = s.split(".")[0].split("").reverse(), r = s.split(".")[1]; var l = s.split(".")[0].split("").reverse(), r = s.split(".")[1];
@ -19418,8 +19415,6 @@ const _sfc_main$D = defineComponent({
nextTick(() => { nextTick(() => {
getScrollWidth(); getScrollWidth();
}); });
}, {
deep: true
}); });
onMounted(() => { onMounted(() => {
var _a2, _b; var _a2, _b;

View File

@ -64,13 +64,10 @@ const isPassword = computed(() => type.value == "password");
const composing = ref(false); const composing = ref(false);
const formatMoney = function (s: string) { const formatMoney = function (s: string) {
if (s == "") {
return "";
}
var noNegative = true; var noNegative = true;
s = parseFloat((s + "").replace(/[^\d\.-]/g, "")) + ""; s = parseFloat((s + "").replace(/[^\d\.-]/g, "")) + "";
if (parseFloat(s) < 0) { if (parseFloat(s) < 0) {
s = Math.abs(parseFloat(s)) + ""; s = Math.abs(s) + "";
noNegative = false; noNegative = false;
} }

View File

@ -434,7 +434,6 @@ const getScrollWidth = () => {
} else { } else {
scrollWidthCell.value = 0; scrollWidthCell.value = 0;
} }
tableBodyEmptyWidth.value = tableHeaderTable.value?.offsetWidth + "px"; tableBodyEmptyWidth.value = tableHeaderTable.value?.offsetWidth + "px";
}; };
@ -454,9 +453,6 @@ watch(
nextTick(() => { nextTick(() => {
getScrollWidth(); getScrollWidth();
}); });
},
{
deep: true,
} }
); );

File diff suppressed because one or more lines are too long