L22新增单位
This commit is contained in:
parent
5b62d3ab22
commit
4ba6974cbf
|
|
@ -111,6 +111,9 @@
|
||||||
if (num == "00") {
|
if (num == "00") {
|
||||||
weight = weight / 10
|
weight = weight / 10
|
||||||
}
|
}
|
||||||
|
if (num == "01") {
|
||||||
|
that.unit = "斤"
|
||||||
|
}
|
||||||
if (num == "10") {
|
if (num == "10") {
|
||||||
if (unit == "10") {
|
if (unit == "10") {
|
||||||
that.unit = "lb"
|
that.unit = "lb"
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -223,6 +223,9 @@ var _default = {
|
||||||
if (num == "00") {
|
if (num == "00") {
|
||||||
weight = weight / 10;
|
weight = weight / 10;
|
||||||
}
|
}
|
||||||
|
if (num == "01") {
|
||||||
|
that.unit = "斤";
|
||||||
|
}
|
||||||
if (num == "10") {
|
if (num == "10") {
|
||||||
if (unit == "10") {
|
if (unit == "10") {
|
||||||
that.unit = "lb";
|
that.unit = "lb";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue