Skip to content

Commit

Permalink
up default inp val
Browse files Browse the repository at this point in the history
  • Loading branch information
annnhan committed Jan 2, 2014
1 parent f230212 commit 358aed5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions js/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ reres.controller('mapListCtrl', function($scope) {

//当前编辑的规则
$scope.curRule = {
req: '.*reqtest\\.com',
res: 'http://restest\\.com',
req: '.*test\\.com',
res: 'http://cssha.com',
type: 'file',
checked: true
}
Expand Down Expand Up @@ -53,8 +53,8 @@ reres.controller('mapListCtrl', function($scope) {
$scope.addRule = function () {
if ($scope.editDisplay === 'none') {
$scope.curRule = {
req: '.*reqtest\\.com',
res: 'http://restest\\.com',
req: '.*test\\.com',
res: 'http://cssha.com',
type: 'file',
checked: true
};
Expand Down
8 changes: 4 additions & 4 deletions js/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ reres.controller('mapListCtrl', function ($scope) {

//当前编辑的规则
$scope.curRule = {
req: '.*reqtest\\.com',
res: 'http://restest\\.com',
req: '.*test\\.com',
res: 'http://cssha.com',
type: 'file',
checked: true
}
Expand Down Expand Up @@ -62,8 +62,8 @@ reres.controller('mapListCtrl', function ($scope) {
// 点击添加按钮
$scope.addRule = function () {
$scope.curRule = {
req: '.*reqtest\\.com',
res: 'http://restest\\.com',
req: '.*test\\.com',
res: 'http://cssha.com',
type: 'file',
checked: true
};
Expand Down

0 comments on commit 358aed5

Please sign in to comment.