Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xugong
hls-xcmg-vue-app
Commits
1ee48817
Commit
1ee48817
authored
Feb 17, 2020
by
linxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
f1095afd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
15 deletions
+18
-15
baseInfo.vue
src/pages/userBindNew/org/baseInfo.vue
+18
-15
No files found.
src/pages/userBindNew/org/baseInfo.vue
View file @
1ee48817
...
@@ -876,31 +876,34 @@ export default {
...
@@ -876,31 +876,34 @@ export default {
addRows
(
e
)
{
addRows
(
e
)
{
if
(
e
)
{
if
(
e
)
{
let
addNum
=
Math
.
ceil
(
e
.
length
/
16
)
let
addNum
=
Math
.
ceil
(
e
.
length
/
16
)
if
(
addNum
===
0
)
{
// if (addNum === 0) {
this
.
$refs
.
myTestarea
.
rows
=
1
// this.$refs.myTestarea.rows = 1
}
else
if
(
addNum
>=
addNum
-
1
&&
addNum
<
addNum
+
1
)
{
// } else if (addNum >= addNum - 1 && addNum
<
addNum
+
1
)
{
this
.
$refs
.
myTestarea
.
rows
=
addNum
+
1
// this.$refs.myTestarea.rows = addNum + 1
}
// }
this
.
$refs
.
myTestarea
.
rows
=
addNum
}
}
},
},
addRowsLive
(
e
)
{
addRowsLive
(
e
)
{
if
(
e
)
{
if
(
e
)
{
let
addNum
=
Math
.
ceil
(
e
.
length
/
16
)
let
addNum
=
Math
.
ceil
(
e
.
length
/
16
)
if
(
addNum
===
0
)
{
// if (addNum === 0) {
this
.
$refs
.
myTestareaLive
.
rows
=
1
// this.$refs.myTestareaLive.rows = 1
}
else
if
(
addNum
>=
addNum
-
1
&&
addNum
<
addNum
+
1
)
{
// } else if (addNum >= addNum - 1 && addNum
<
addNum
+
1
)
{
this
.
$refs
.
myTestareaLive
.
rows
=
addNum
+
1
// this.$refs.myTestareaLive.rows = addNum + 1
}
// }
this
.
$refs
.
myTestareaLive
.
rows
=
addNum
}
}
},
},
addAddressRows
(
e
)
{
addAddressRows
(
e
)
{
if
(
e
)
{
if
(
e
)
{
let
addNum
=
Math
.
ceil
(
e
.
length
/
16
)
let
addNum
=
Math
.
ceil
(
e
.
length
/
16
)
if
(
addNum
===
0
)
{
//
if (addNum === 0) {
this
.
$refs
.
address
.
rows
=
1
//
this.$refs.address.rows = 1
}
else
if
(
addNum
>=
addNum
-
1
&&
addNum
<
addNum
+
1
)
{
//
} else if (addNum >= addNum - 1 && addNum
<
addNum
+
1
)
{
this
.
$refs
.
address
.
rows
=
addNum
+
1
this
.
$refs
.
address
.
rows
=
addNum
+
1
}
// }
this
.
$refs
.
address
.
rows
=
addNum
}
}
},
},
handSubmit
()
{
handSubmit
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment